- [REST With Spring] (http://bit.ly/restwithspring)
- Continuous Integration: CI on Cloudbees
git clone https://github.com/eugenp/REST-With-Spring.git
cd REST-With-Spring
mvn clean install
mvn cargo:run -f um-webapp/pom.xml
- next: start consuming the service like so: REST API: Consuming Examples with
curl
REST With Spring is a proof of concept implementation of a RESTful Service.
The project also provides a reference implementation for:
- REST Discoverability and HATEOAS
- Basic and Digest Authentication
- ETag support
- support for Multiple Representations (on the same URIs) (JSON, XML)
- a full REST based Query Language for advanced filtering of resources
- Sorting and Pagination in REST
- Statelessness for REST with Spring
- full integration testing suites at every layer: unit tests, integration tests for the DAO and Service layers, integration tests against the REST service
The project uses the following technologies:
- web/REST: Spring 4.2.x
- marshalling: Jackson 2.x (for JSON) and XStream (for XML)
- persistence: Spring Data JPA and Hibernate 4.1.x
- persistence providers: H2, MySQL
- testing: junit, hamcrest, mockito, rest-assured
- Built on Cloudbees: REST Security Jenkins CI
- see the Eclipse wiki page of this project