Adding dropwizard metrics to the prometheus metrics is very simple with a few lines of code.
Continue readingTag: Java
Moving data from Database to AWS S3 with Apache Spark
Migrating your data in a SQL database to an S3 bucket in Parquet file is very easy with Apache Spark, follow this step by step article to understand the process.
Continue readingJakarta Data – An unified API for Persistence
Jakarta Data is an specification which unifies the repository pattern with JPA and Jakarta NoSQL integrating it with BeanValidation, Transactions, and CDI with the goal of simplify the development of code.
Continue readingJava 21 Features – Overview
Java 21 has been released and it includes some interesting features that will help the developers and modernize the language.
Continue readingHow to Timeout a JDBC query
Adding a timeout to JDBC queries might be useful in many use cases. It’s also very simple, just one line, let see how to do it.
Continue readingThe Infamous No Suitable Driver Found For JDBC and how to fix it
The exception java.sql.SQLException: No suitable driver found for jdbc: is thrown when the driver is not in the classpath, or is not registered before getting the database connection.
Continue readingGuide of Virtual Threads – Lightweight threads in Java
Virtual Threads allows to have lightweight threads with a backward-compatible approach and supported in multiple API of the JDK. Let’s learn more about it…
Continue readingDONT be afraid of using var in Java
DO NOT BE AFRAID OF USING VAR, use it wisely, use it to reduce verbosity, make code readable and enforce other best practices in naming. Instead of prohibiting its use, let’s use correctly.
Continue readingDesign Patterns in Modern Java
Let’s review some of the design or programming patterns we can use in our code taking advantage of the Modern Java.
Continue readingSpring Framework 6 and Spring Boot 3 Released
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 reading