Spring Boot

Static Data with Spring Boot

Sometimes we need some structured, static data in our application. Perhaps the static data is a workaround until we have built the full feature that stores the data in the database and allows users to maintain the data themselves.

Read more

Hexagonal Architecture with Java and Spring

The term “Hexagonal Architecture” has been around for a long time. Long enough that the primary source on this topic has been offline for a while and has only recently been rescued from the archives.

Read more

Mocking with (and without) Spring Boot

Mockito is a very popular library to support testing. It allows us to replace real objects with “mocks”, i.e. with objects that are not the real thing and whose behavior we can control within our test.

Read more

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