I have written about Spring’s support for web response error handling a few times before (e.g. about custom error responses and how they can be generalized). This time, we will take a look at […]
Spring Boot brings about some welcome defaults configurations that significantly decreases the development time of Spring projects. It also has some useful additions when it comes to simplified integration testing. Traditionally, one would use […]
The REST Assured test library for Java was recently updated to version 2.2 and one of the new features is support for unit testing Spring MVC controllers using the new spring-mock-mvc module. This module […]
REST Assured is a simple Java library for testing of REST services and a new major version has just been released. Not only is it easy to use and get started with but it’s […]
A while ago we decided to upgrade Jackson from 1.x to 2.x (faster jackson). We were also using JAXB to map Java objects to JSON and Jersey for exposing our REST services and of […]
When we talk about creating RESTful services using hypermedia we often get into discussions why the links are necessary. Why not simply publish a list of available URI:s and the client can code directly using these links? Won’t there be much overhead in putting links into every response? In this blogpost we will try to explain why we think a hypermedia API is useful.
tl;dr HTML is the lowest common denominator in a world where the number of devices are steadily growing. In such a world, our API should be hypermedia driven and we should consider choosing HTML […]