Java
-

Include null Value in JSON Serialization
1. Introduction JavaScript Object Notation (JSON) is text-based data format that is easy for humans to read and write and…
Read More » -

Retrieving Lists of Entities from a Database Using Hibernate
Hibernate is a powerful Object-Relational Mapping (ORM) framework for Java that simplifies the interaction between an application and a database…
Read More » -

Best Practices for Using JDBC in Java Applications
Java Database Connectivity (JDBC) is a powerful API that bridges the gap between your Java applications and relational databases. By…
Read More » -

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 » -

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 » -

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 » -

Spring Prototype Beans with Runtime Arguments
Spring offers various bean scopes, with the default being singleton, which creates a single instance throughout the application. Prototype scope,…
Read More » -

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 » -

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 »






