Modularizing a Spring Boot Application
Every software project comes to a point where the code should be broken up into modules. These may be modules within a single code base or modules that each live…
Favourite tutorials for developers
Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. It is a general-purpose programming language intended to let programmers write once, run anywhere (WORA), meaning that compiled Java code can run on all platforms that support Java without the need to recompile.
Every software project comes to a point where the code should be broken up into modules. These may be modules within a single code base or modules that each live…
Spring has introduced the @Conditional annotation that allows us to define custom conditions to apply to parts of our application context. Spring Boot builds on top of that and provides…
Scheduling is the process of executing a piece of logic at a specific time in the future. Scheduled jobs are a piece of business logic that should run on a…
This tutorial uses IntelliJ IDEA Ultimate because we want to create a new project using Spring Initializr. This functionality is only available with IntelliJ IDEA Ultimate. It is based off…
Docker has become one of the most exciting technologies of the current decade. Spring Boot Docker Deployment opens the door for deploying our Spring Boot Microservices on Docker containers. So…
In Spring Boot JPA Auditing Example, we will look at how Spring Data JPA helps managing audit information. Using the AuditorAware Interface, Spring Data JPA provides mechanism for capturing audit…
Hibernate Envers is a module that implements auditing and versioning of persistent entities. Auditing and versioning is a key component for building production-level Spring Boot Microservices. Hibernate Envers integrates seamlessly…
In the previous post Setting up Swagger with Spring Boot Application, we looked at the process of setting up Swagger with Spring Boot. However, there are other configuration options available…
In the previous post Handling Validations in Spring Boot Application, we added validations to our application. With that, we brought it quite close to a production-level application. However, one of…
We already looked at exception handling in a Spring Boot application. The other side of the coin is to validate the incoming data to our application. Lack of validation can…