-
Core Java
Parse JSON using Moshi
Moshi is a modern JSON library for Android and Java by Square. It simplifies parsing and serializing JSON, supports annotations,…
Read More » -
Enterprise Java
Manage Kafka Listeners Dynamically in Spring Boot
In contemporary event-driven architectures, proficient management of data streams is paramount. Apache Kafka stands out as a favored solution for…
Read More » -
Enterprise Java
Querydsl vs. JPA Criteria
Querydsl and JPA Criteria are widely used frameworks for creating type-safe queries in Java. Both offer methods to express queries…
Read More » -
Core Java
Guide to ExecutorService vs. CompletableFuture
Modern applications often require efficient handling of concurrent tasks to improve performance and responsiveness. Java provides robust concurrency utilities, such…
Read More » -
Core Java
Intro to the Apache Commons CLI
The Apache Commons CLI library is a powerful tool that enables developers to efficiently create command line interfaces (CLIs) for…
Read More » -
Core Java
Capture Method Arguments in Mockito Test
During code testing, we may need to capture the method parameters. Let us delve into understanding how Mockito captures passed…
Read More » -
Enterprise Java
Refresh and Fetch an Entity After Save in Spring Data JPA
The Java Persistence API (JPA) serves as a connector linking Java objects and relational databases, facilitating the smooth persistence and…
Read More » -
Enterprise Java
Autowire Spring Bean in Servlet Filter
Servlet filters provide a powerful way to intercept and manipulate incoming requests. However, accessing Spring-managed beans within these filters can…
Read More » -
Enterprise Java
Implement Two-Level Cache With Spring
Caching is a technique used to store data temporarily in a faster storage layer to improve the performance and responsiveness…
Read More »