There’s a very good blog article on the Spring IO site covering how to expose Spring JPA Data as a restful service using the @RepositoryRestResource annotation, you can read it here:
http://spring.io/guides/gs/accessing-data-rest/
Seems like a really powerful and easy way to build RESTful web services!