Spring Boot

Modularizing a Spring Boot Application

Every software project comes to a point where the code should be broken up into modules. These may be modules within a single code base or modules that each live in their own code base.

Read more

Testing a Spring Boot REST API Consumer against a Contract with Spring Cloud Contract

Consumer-driven contract tests are a technique to test integration points between API providers and API consumers without the hassle of end-to-end tests (read it up in a recent blog post).

Read more

Autostart for your Spring Boot Application

A few months ago I was asked to find a solution for starting and stopping a Spring Boot application under Windows automatically together with the computer this application was running on.

Read more

Event Messaging for Microservices with Spring Boot and RabbitMQ

In a microservice environment or any other distributed system you may come upon the requirement to exchange events between services. This article shows how to implement a messaging solution with RabbitMQ.

Read more

Consumer-Driven Contracts with Pact, Feign and Spring Data REST

When thinking about integration testing in a distributed system, you quickly come across the concept of consumer-driven contracts. This blog post gives a short introduction into this concept and a concrete implementation example using the technologies Pact, Spring Boot, Feign and Spring Data REST.

Read more

Documenting a Spring Data REST API with Springfox and Swagger

With Spring Data REST you can rapidly create a REST API that exposes your Spring Data repositories and thus provides CRUD support and more.

Read more