Testing your Spring Data JPA repository

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

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

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

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

Using WebSockets with Spring, AngularJS and SockJS

A while ago I wrote a tutorial about writing a web application using Spring, AngularJS and WebSockets. However, that tutorial only used a fraction of what WebSockets could do, so in this tutorial I will explain how you can write a small chat app using the same frameworks; Spring, AngularJS, Stomp.js and SockJS.

Writing real time applications using Spring, AngularJS and 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 […]

Spring Security: Database implementatie

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