Spring Boot

Bean Validation Anti-Patterns

Bean Validation is the de-facto standard for implementing validation logic in the Java ecosystem and it’s a great tool to have around.

Read more

Quick Guide to Building a Spring Boot Starter

There are certain cross-cutting concerns that we don’t want to implement from scratch for each Spring Boot application we’re building. Instead, we want to implement those features once and include them into any application as needed.

Read more

Building a Multi-Module Spring Boot Application with Gradle

The Spring Initializr is a great way to quickly create a Spring Boot application from scratch. It creates a single Gradle file that we can expand upon to grow our application.

Read more

Paging with Spring Boot

As a user of a web application we’re expecting pages to load quickly and only show the information that’s relevant to us.

Read more

Configuring a Spring Boot Module with @ConfigurationProperties

Every application above play size requires some parameters at startup. These parameters may, for instance, define which database to connect to, which locale to support or which logging level to apply.

Read more

Conditional Beans with Spring Boot

When building a Spring Boot app, we sometimes want to only load beans or modules into the application context if some condition is met.

Read more