πŸ‘‹Hey there,I'm Dimitri

I like trying out new frameworks and writing about them. Below you can find the latest articles I wrote.


Difference between Mono and Flux

October 1st, 2019 | 7 min read | Java, Project Reactor, Reactive programming

Two key-components of Project Reactor are the Mono and Flux publishers. In this tutorial I’ll explain the differences between them and how to use them.

Loading initial data with Spring

August 20th, 2019 | 7 min read | Java, JPA, Spring, Spring boot, Spring Data

I’ve been answering Spring related questions on Stack Overflow for the past three years now, and one of my most popular answers is about how to load initial data. While my solution over there works really fine, there are multiple solutions to this problem, and in this tutorial I’ll demonstrate which ones you have. This […]

Reactive relational databases with R2DBC and Spring

June 25th, 2019 | 5 min read | PostgreSQL, Project Reactor, R2DBC, Reactive programming, Spring boot, Spring WebFlux

In the past, we’ve covered how to use reactive programming with Project Reactor and Spring. Around that time, I mentioned that the support for databases was limited due to the amount of blocking JDBC drivers. However, some relational databases do support reactive connectivity, and with R2DBC, we can easily use those within our projects.

Testing your REST controllers and clients with Spring

April 2nd, 2019 | 8 min read | mockmvc, REST, Spring, Spring boot, Testing

That Spring allows you to easily develop REST APIs, is probably something we all know by now. With MockMvc and MockRestServiceServer, the same can be said to testing those REST APIs and clients. If you didn’t know this, then you’re at the right place to learn about it, as we’ll explore those options today!

Monitoring with Micrometer, Prometheus and Grafana

February 19th, 2019 | 6 min read | Docker, grafana, micrometer, prometheus, Spring boot

Monitoring is an essential aspect to the maintainability of applications, it’s no surprise that there are many platforms out there that allow you to properly monitor your applications. Usually, monitoring platforms work by using a time series database, which is a database optimised for time-based information, such as application metrics. Then on the other hand […]

Using WebSockets with Spring boot

January 8th, 2019 | 7 min read | Java, Spring, Spring boot, WebSockets

A few years ago, I wrote an article about using WebSockets with Spring and AngularJS. However, the technologies have evolved over the years. That’s why I decided to write some up-to-date follow-up articles using the latest version of Spring boot and the latest version of the Angular framework. In this first follow-up article, I’m going […]