👋Hey there,I'm Dimitri

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

Producing REST API’s with Spring

September 6th, 2016 | 12 min read | REST, Spring, Spring boot, Spring MVC, Web, Web services

In the past couple of weeks I’ve written a few simple applications using Spring boot. With Spring MVC it’s also quite easy to serve REST API’s. In this article I’ll show you how to create such a REST API and how to consume one using RestTemplate.

CloudFlare, good or bad?

May 29th, 2016 | 6 min read | cloudflare

If you’re a developer like me and you spent some of your time on Reddit or StackOverflow, you probably might have encountered some articles about CloudFlare last week, like CloudFlare is ruining the internet (for me) and CloudFlare is ruining Stack Overflow for me with its recaptcha. Reading these articles made me want to evaluate […]

Handling forms with Spring Web and JSR-303

April 13th, 2016 | 13 min read | form, Spring, Spring boot, Web

Up until now I’ve written several tutorials already about creating some readonly Spring boot application, but what’s cool about that? Eventually you’ll have to add/update some data in your application. In this example I’ll show you how you can do that with Spring Web and JSR-303 bean validations.

Internationalization (i18n) with Spring

April 5th, 2016 | 7 min read | i18n, Spring, Spring boot, Web

When developing applications, it can be interesting to put labels in a separate properties file, so that they can be re-used. For example, we often noticed that within our applications there were slight variations on specific words, which broke consistency. The easiest way to solve that is to centralize these labels. Another benefit you get […]

Mapping with Dozer

March 30th, 2016 | 10 min read | Dozer, Java, Spring

Recently I wrote a tutorial about mapping with MapStruct. Testing it out for the first time, I noticed several differences between MapStruct and the mapping framework that I have the most experience in, called Dozer. That’s why I’m going to make a similar tutorial to my previous one, utilizing the Dozer framework this time, allowing […]

Mapping beans with MapStruct

February 23rd, 2016 | 9 min read | MapStruct, Maven, Spring

Recently, I wrote several tutorials about Spring boot and Spring Data JPA. A common issue that appears when writing large applications is that you don’t want to use your entities on your front-end. The reason behind this is that your entity usually resembles how your database and your tables look like, while your model or […]

Handling errors with Spring MVC

January 19th, 2016 | 7 min read | Spring, Spring boot, Spring MVC, Web

In my previous tutorial I wrote a small Spring boot application that retrieved data from a database and showed it on a webpage. However, we only handled the happy path, usually stuff may go wrong when retrieving data or doing certain operations.

JPA made easy with Spring data’s repositories

January 12th, 2016 | 9 min read | JPA, Spring, Spring boot, Spring Data, Web

In my previous tutorial I made a simple application to show some superheroes and supervillains. While the application did what it should do it was pretty statically because I used some mock data. With Spring Data it’s very easy to create a simple CRUD application without the hassle of creating your own DAO’s. Spring Boot […]

2015: Year overview

January 9th, 2016 | 3 min read | none

The last day of 2015 is almost two weeks ago, time is going fast, that’s for sure. Around this time you see a lot of year reviews, awards for that year are being held, … . Me? I’m going to review what happened on wordpress.g00glen00b.be as well.