A quick project evaluating Spring, Jackson, JPA and Hibernate. Particularly focused on the following:
- Ease-of-testing at various layers.
- Java/Annotation configuration as an alternative to XML.
The goal was to provide the foundations of a REST service for aggregating job postings from the various jurisdictions throughout Washington. It should be noted that the resulting project is very over-engineered given its limited scope. This was done intentionally in an effort to simulate a more realistic EE architecture.
The code is divided into the following groups
- REST API
com.wtl.wawork.rest.*
- HTTP Client
com.wtl.wawork.web.*
- Services
com.wtl.wawork.core.service.*
- Repositories
com.wtl.wawork.core.persistence.*
An AngularJS client demo is available here.
Username | Password |
---|---|
spider | man |
Endpoint | Description |
---|---|
GET /jurisdictions | Get a list of jurisdictions. |
Endpoint | Description |
---|---|
GET /postings | Get a list of postings |
Name | Required | Type | Description |
---|---|---|---|
j |
optional | integer list | Comma separated list of jurisdiction IDs to filter postings |
et |
optional | integer | Posting employment type ID |
Special thanks to the maintainers of the https://github.com/spring-guides repositories for providing an excellent reference project.