An advantage of Scala to Java is the number of method to use on collections (List, Seq, Buffer, etc), and implement the functional programming approach simplifying our code. In this article, we will understand the usage of the collect method and its benefits.
Continue readingEffective data load in JPA with Entity Graph
PA 2.1 has introduced the Entity Graph feature, and it’s a very useful when we need to load data from a relationship in the query, in a different way as the mapped in the entity.
Continue readingCreating a Fat Jar using maven and gradle
It’s very common that we might need to create a Java application and generate the jar executable, but we need to use third-party libraries that […]
Continue readingUsing jEnv to switch JDK versions
jEnv is a command line tool that help you to switch java versions. Let’s see how to install it correctly and use it.
Continue readingUsing JPA CriteriaQuery to build Paginated Queries
Simple example of creating Pagination using JPA Criteria queries.
Continue readingA Generic Pagination with Lazy Datamodel in Primefaces-JSF Datatable
When we have to display a large records in a data-table using pagination is the best approach to optimize memory and response time, so the […]
Continue readingJava OCP 11 Certification on $25 and free learning courses
Useful information about how to get the free learning courses and discount on the OCP certification exam for a limited time.
Continue readingJakarta NoSQL
An introduction to understand the importance of Jakarta NoSQL API in the Java world, and example of how to use it.
Continue readingFormatting Dates with Java Date/Time API
A summary of how to format and parse datetime and strings in the Java Date/Time API.
Continue readingRest Client with Java 11+
A summary about how to create rest http client in Java. Focusing on the alternative previous Java 11 and then the new http client included in Java 11.
Continue reading