Spring Boot

Clean Architecture Boundaries with Spring Boot and ArchUnit

When we’re building software, we want to build for “-ilities”: understandability, maintainability, extensibility, and - trending right now - decomposability (so we can decompose a monolith into microservices if the need arises).

Read more

API-First Development with Spring Boot and Swagger

Following an API-first approach, we specify an API before we start coding. Via API description languages, teams can collaborate without having implemented anything, yet.

Read more

Custom Web Controller Arguments with Spring MVC and Spring Boot

Spring MVC provides a very convenient programming model for creating web controllers. We declare a method signature and the method arguments will be resolved automatically by Spring.

Read more

Handling Passwords with Spring Boot and Spring Security

Systems with user management require authentication. If we use password-based authentication, we have to handle users' passwords in our system. This article shows how to encode and store passwords securely with Spring Security.

Read more

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

Spring Boot simplifies database migrations by providing integration with Flyway, one of the most widely used database migration tools. This guide presents various options of using Flyway as part of a Spring Boot application, as well as running it within a CI build.

Read more

Spring Boot Application Events Explained

To “listen” to an event, we can always write “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