The project uses the following technologies:
- java: Java 7
- web server: Tomcat 7
- web/REST: Spring 4, RestEasy 3
- view: Freemarker
- marshalling: Jackson (for JSON)
- testing: JUnit
- utils: Lombok
- run 'mvn clean install' inside the main project
- run 'mvn tomcat7:run' inside the spring-jaxrs-backend folder
- run 'mvn tomcat7:run' inside the spring-jaxrs-frontend folder
- go to http://localhost:8090/
-
regular call http://localhost:xxxx/fortune-cookie/14
-
exception handle http://localhost:xxxx/fortune-cookie/12
-
jsr-349 validation handle http://localhost:xxxx/fortune-cookie/103