The code (with additions) for the spring rest tutorial here: http://spring.io/guides/tutorials/bookmarks/