- Spring for Dependency Injection
- Hibernate for JPA
- MyFaces for JSF
- JAX RS (Jersey) for REST
- HSQL as embedded database
Just use install Maven and use mvn tomcat7:run
Go to http://localhost:8080/ for a list of news entries using JSF and http://localhost:8080/rest/news/all to get all news entries as JSON.