👋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.

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.

Writing real time applications using Spring, AngularJS and WebSockets

March 9th, 2014 | 2 min read | angular, AngularJS, JavaScript, Spring, Spring MVC, Web, WebSockets

HTML5 made browsers a powerful alternative to desktop applications. However, network traffic (when using AJAX or by simply loading pages) is always in one direction. The client requests a page from the server, which in turn responds with the proper content. With HTML5 WebSockets that’s a different story, websockets allow you to setup a full duplex […]

Writing real time applications using Spring and AngularJS (Part 3: AngularJS)

March 9th, 2014 | 14 min read | angular, AngularJS, JavaScript, Spring, Spring MVC, Web, WebSockets

In the previous two tutorials I made the entire back-end for the real time application. You probably have noticed that the configuration part actually took longer than actually writing the application itself, this is because there’s a lot of magic behind the screens (think about the data access layer we didn’t have to write). This […]

Writing real time applications using Spring and AngularJS (Part 1: Project setup)

March 9th, 2014 | 8 min read | angular, AngularJS, JavaScript, Spring, Spring MVC, Web, WebSockets

HTML5 made browsers a powerful alternative to desktop applications. However, network traffic (when using AJAX or by simply loading pages) is always in one direction. The client requests a page from the server, which in turn responds with the proper content. With HTML5 WebSockets that’s a different story, websockets allow you to setup a full […]

Spring Security: Database implementatie

April 10th, 2013 | 5 min read | MySQL, Spring, Spring MVC, Spring security, Web

In de vorige tutorial heb ik voor een eerste keer gesproken over Spring Security. In die tutorial heb ik het gehad over authenticatie/autorisatie en de mogelijkheden van het framework. In die tutorial hebben we echter gebruik gemaakt van de meest eenvoudige manier van authenticatie en het toekennen van rollen, namelijk via de Spring bean configuratie […]

Een introductie tot Spring security

April 6th, 2013 | 11 min read | Spring, Spring MVC, Spring security, Web

Ik was al een tijdje van plan een tutorial rond Spring security te maken en nu is deze er dan ook eindelijk. Ik heb ondertussen al enkele tutorials gemaakt rond Spring web applicaties maar we hebben het daar nog nooit gehad over authenticatie en authorisatie. In deze tutorial ga ik een eenvoudige webapplicatie maken met […]