Using Spring Data REST To Easily Create RESTful Endpoints For Data Stored In A Database
Introduction
Spring Data is an ambitious project designed to make data access even simpler. Spring Data consists of several sub-projects such as Spring Data JPA, which makes it easier for coding an application that uses JPA. I had previously written about Spring Data JPA and found it significantly reduced the amount of code I had to write.
A relatively new addition to the Spring Data family of projects is Spring Data REST, which simplifies exposing JPA-based repositories as RESTful endpoints. After reading Vijay Rawat's excellent blog article on how to use Spring Data REST I decided to modify the Struts 2 – Spring Data JPA example application I used in my Spring Data JPA blog article to include Spring Data REST.
