Spring Boot

Validate Spring Boot Configuration Parameters at Startup

One of the important steps to keep software applications customizable is effective configuration management. Modern frameworks provide out-of-the-box features to externalize configuration parameters.

Read more

Testing Database Migration Scripts with Spring Boot and Testcontainers

Database migration with tools like Flyway or Liquibase requires creating SQL scripts and running them on a database. Although the database is an external dependency, we have to test the SQL scripts, because it is our code.

Read more

One-Stop Guide to Database Migration with Liquibase and Spring Boot

Spring Boot provides integration with database migration tools Liquibase and Flyway. This guide provides an overview of Liquibase and how to use it in a Spring Boot application for managing and applying database schema changes.

Read more

Building a Robust SQS Client with Spring Boot

I mistrust tools and products that have the word “simple” in their name. This was also the case when I had First Contact with AWS’s “Simple Queue Service” or SQS.

Read more

Spring Boot Application Events Explained

To “listen” to an event, we can always write the “listener” to an event as another method within the source of the event, but this will tightly couple the event source to the logic of the listener.

Read more

Why You Should Use Constructor Injection in Spring

Dependency injection is an approach to implement loose coupling among the classes in an application. There are different ways of injecting dependencies and this article explains why constructor injection should be the preferred way.

Read more