👋Hey there,I'm Dimitri

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


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 […]

Testing modern web applications

March 9th, 2015 | 2 min read | Spring, Spring boot, Testing, Web

If you’re a web developer like me, then you probably know that writing tests for an application means that you have to test various parts of the application. Modern web architectures usually contain the necessary front-end logic, a REST back-end and some data persistence. Having to test your application means that you want to cover […]

Testing your Spring Data JPA repository

February 16th, 2015 | 6 min read | JPA, Spring, Testing

With Spring Data JPA, persisting data is quite easy. You no longer need to write complex DAO’s or repositories, no, all you need is an interface. If you look at my Spring Boot tutorial, you will see that by writing a few lines of code for creating our interface, we’re able to read, update, delete and […]

Easy integration testing with Spring Boot and REST-Assured

January 24th, 2015 | 9 min read | REST-Assured, Spring, Spring boot, Testing

In my previous article I explained how you could rapidly create a completely working, responsive CRUD application with about 150 lines of code. That’s obviously nice, but Spring Boot also makes it easy to write integration tests for your application, because it’s easy to setup a running test application with a few annotations, so then […]

Rapid prototyping with Spring Boot and AngularJS

December 20th, 2014 | 14 min read | angular, AngularJS, Spring, Spring boot, Web

Recently I wrote an article about writing modern webapps with Spring Data REST and AngularJS. It’s not that hard to write, but it can be done even easier with Spring Boot as pointed out in the comments by Greg Turnquist. I already planned on trying out Spring Boot after some amazing articles about Spring Boot […]