A new generation of Spring Framework has been released, after 5 years with Spring Framework 5.x, in November 2022, Spring Framework 6 has been released. […]
Continue readingTag: Java
Java – Local variable Type Inference
Let’s review some considerations when using the Local variable type inference Java. It basically allows the developer to use the word var instead of the type when declaring local variables (into methods), the compiler is able to infer the type from the right side of the assignment.
Continue readingMicroProfile overview
MicroProfile is an open-source initiative managed by the Eclipse Foundation. MicroProfile optimizes Enterprise Java for micro-services, providing a lot of cloud native features
Continue readingTry Catch Block in Java
In Java, the try/catch block is the alternative to handle exceptions properly and avoid the application to crash. It has useful features like multi check, finally or try-with-resources statements.
Continue readingPKCS 11 Provider across multiple Java versions
A cross version approach to create SunPKCS11 providers to interact with smart cards. Supports version Java 5 to Java 18 at this moment.
Continue readingJDBI and the Specification Pattern
JDBI is a library to access to relation data in Java, it doesn’t provide support for the Specification Pattern, but with some classes and code we can implement it and use it.
Continue readingHow to get the current directory path of a JAR in Java
Let’s learn about different approaches and concerns when we want to find the current directory where a JAR file is running….
Continue readingSpring Data JPA and the Specification Pattern
Spring Data JPA provides support to the Specification pattern that will help us to reduce the amount of methods in our repository improving the readability and maintainability of the code.
Continue readingUsage of Deprecated for removal
Java 9 added the attribute forRemoval to the @Deprecated annotation, the purpose is to let know the developer there is a real intention in the short coming future (next releases) to remove completely that code. Therefore, stop using it should be a high priority.
Continue readingMaking Visual Studio Code your Java IDE
Let’s make VS Code our Java IDE tool with just few steps and clicks.
Continue reading