http://spring.io/guides/gs/accessing-data-rest/