Table of ContentsIntroductionPrerequisitesConfiguration: Connecting Spring Boot to PostgreSQLCreating the DAO (Data Access Object)Building the Service LayerCrafting the Contro… Read More
Spring Boot is a popular framework for building enterprise-level applications in Java. One of the key features of Spring Boot is its ability to integrate with various databases, including Mo… Read More
Prior understanding to Kafka, we should understand the problem Kafka try to solve. In simple Client-Server architecture source machine needs to create a connection with target machine, howev… Read More
Using Elasticsearch with Spring Boot for Real-Time Analytics
Real-time analytics is an essential part of modern web applications, and Elasticsearch is one of the best tools for this purpose… Read More
In this post, I am going to explain how to a. Create a new topic b. Submit a message to the topic c. Read the message from a topic Setup Go t… Read More
IntroductionDatabase auditing in the context of ORM refers to the monitoring and logging of persistent entity-related events, or just entity versioning. These events are insert, update, and… Read More
This post shows how to inject inner beans in Spring and what are the scenarios when you would need to inject a bean as an inner bean.Let’s say you have a Java class which refers to ano… Read More
In this post we’ll see a Spring email scheduling example using Quartz scheduler integration with Spring framework. Spring Mail API is used to configure Java mail for sending email. R… Read More
Introduction to spring boot autowired
Spring boot autowired is the feature of the spring boot framework, which was used to enable us to inject the dependency object implicitly; it is used i… Read More
If a class implements org.springframework.beans.factory.BeanFactoryAware interface, then the class bean is provided with a reference to their owning BeanFactory. BeanFactoryAware interface… Read More
In the post Spring Batch Processing Using JDBCTemplate batchUpdate() Method we have already seen how you can use batchUpdate() method with BatchPreparedStatementSetter interface for process… Read More
Let’s take an example & understand the problem first.
We have one VehicleService interface:
public interface VehicleService {
public void drive();
}
We have two diffe… Read More
Introduction to Spring Boot Lombok
Spring boot Lombok is the tool of the java library that was used to generate code for minimizing the unused code. This library is replacing the unused cod… Read More
Definition of Spring Boot Test Configuration
Spring boot test configuration is useful to test our spring boot application, using test configuration we can test the small part of our applica… Read More