Using Java NIO we can implement a locking mechanism, to access resources concurrently safely and maintaining the integrity of our information.
Continue readingAuthor: agamboa
Picocli – Easiness for CLI arguments in Java
Picocli, defines itself as the easiest way to create a rich cli application for JVM and no JVM environments.
Continue readingConnecting shell to a Node in Kubernetes
In case of requering to access a kubernetes node via shell with the nsenter script or the kubectl-ssh plugin we can do it. Without requiring SSH Keys, VPN, Bastion or credentials.
Continue readingUsing collect in Scala
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 reading