Spring Boot

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

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