👋Hey there,I'm Dimitri

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


Monitoring Spring boot applications with Prometheus and Grafana

February 13th, 2018 | 7 min read | grafana, monitoring, prometheus, Spring boot

This article is outdated since the release of Spring boot 2.0. If you’re interested in a more up-to-date setup, make sure to read my new tutorial about monitoring Spring boot applications with Micrometer, Prometheus and Grafana. Monitoring is an essential aspect to the maintainability of applications, it’s no surprise that there are many platforms out there that […]

Using the Netflix stack with Spring boot: Zuul

January 16th, 2018 | 7 min read | Eureka, Gateway, Netflix, Spring boot, Spring cloud, Zuul

You might have heard of the term cross-cutting concerns in the past. If not, cross-cutting concerns are concerns that apply to all layers of the application. Examples of these concerns are logging, monitoring, security, … . If you think about it, some cross-cutting concerns also apply to microservices. Perhaps you want to monitor how long […]

Securing Spring boot applications with JWT

January 3rd, 2018 | 16 min read | jwt, Microservices, Spring, Spring boot, Spring security

As soon as you write your first web application with Spring, you probably want to secure it. Spring has a project called Spring Security that does most of the generic stuff for you. Just plug in a service that provides the user details (from a database, LDAP, …) and configure the endpoints and you’re ready […]

Configuration as a microservice

November 9th, 2017 | 6 min read | Git, Microservices, Spring boot, Spring cloud, Web

In my last few tutorials, I’ve covered some aspects that are really important with microservice, such as a discovery service like Eureka and a circuit breaker like Hystrix. Another thing that might be useful when working with microservices is to provide your application configuration as a microservice as well.

Using the Netflix stack with Spring boot: Ribbon

October 18th, 2016 | 8 min read | Eureka, Netflix, Spring, Spring boot, Spring cloud

In my last article I gave a basic introduction into the concepts of a service oriented architecture (SOA) and microservices. I also made a small example about a service registry and how Netflix is involved into microservices with tools like Eureka. However, the story was quite unfinished, since we only made it possible for microservices […]

Utilizing cache abstraction with Spring boot and Ehcache

October 4th, 2016 | 9 min read | EHCache, Spring, Spring boot

Caching is a very common operation when developing applications. Spring made a neat abstraction layer on top of the different caching providers (Ehcache, Caffeine, Guava, GemFire, …). In this article I will demonstrate how the cache abstraction works using Ehcache as the actual cache implementation.

Exploring contract first options with Swagger

September 27th, 2016 | 9 min read | REST, Spring, Spring boot, Swagger

In my latest tutorial I documented a simple REST API with Swagger and Springfox. While this approach certainly showed how valuable documenting your REST API can be, we aren’t really “done” yet. In the great world of SOA we know something like “contract first development”, in which we initially describe the web service (using WSDL) […]