guide at http://spring.io/guides/tutorials/rest/