Spring Boot Custom Components

Let's build domain-oriented custom components with Spring Boot starters, auto-configuration and configuration properties. Updated to Spring Boot 2.7.0!

Data Model vs. Domain Model

ORM is a good servant but a bad master. The object-relational impedance mismatch is still there and as dangerous as ever.

Transactional Events Made Easy with Spring

How to publish events transactionally with RabbitMQ and Spring’s ApplicationEventPublisher.

Shades of Tests

Practical examples of software testing in Java using Spring Boot Test without mocking frameworks.

Spring HTTP Message Converters Customizing

A deep look at how Spring's HTTP Message Converters work.

Resolving a Generic Type with Spring Framework

In the case of generic beans sometimes you need to get the generic type value for some specific reasons. A typical example could be parsing some data into the type.

Pre-processing Spring Beans of Prototype Scope

Sometimes you have a type of bean in the Spring framework which you want to create by every asking for it - in the scope prototype.