👋Hey there,I'm Dimitri

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


Securing your REST API with Spring Security

May 15th, 2015 | 8 min read | Spring, Spring boot, Spring security

In the next couple of weeks I’m going to develop a small idea sharing/voting application, using several common concepts in web development. First of all, I’m going to write and secure a REST API with Spring Security.

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

Executing Jasmine tests with Maven

February 7th, 2015 | 6 min read | angular, AngularJS, Jasmine, JavaScript, Maven, Testing

A while ago I wrote my very first Spring Boot application and I showed you how fast it could be using Spring Boot and AngularJS. I also thought about testing all sides of the application, so I started with writing some integration tests for my REST API, then I wrote some unit tests using Mockito […]

Unit testing with Mockito and AssertJ

January 31st, 2015 | 8 min read | AssertJ, JUnit, Mockito, Testing

A few weeks ago I wrote my very first Spring Boot application and I was quite astonished about the result. Now, I did want to complete the application by writing some tests and so I did. In my previous tutorial I wrote several integration tests, and now it’s time to write some unit tests as […]

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

Building modern webapps using Spring Data REST and AngularJS

November 30th, 2014 | 20 min read | angular, AngularJS, Spring, Spring Data

Recently I wrote several “exotic” applications using WebSockets. If you’re not into WebSockets, but you’re interested in using Spring and AngularJS, this article may suite you. In this example I will setup a web project using the Spring framework and an in memory embedded HSQL database. The client-side of the application will be written using […]