The Java EE 6-Galleria is a demo application demonstrating the use of JSF 2.0 and JPA 2.0 in a Java EE project using Domain Driven Design.
It was written to serve as a showpiece for domain driven design in Java EE 6.
The domain model of the application is not anemic, and is constituted of JPA entities. The entities are then used in session EJBs that act as the application layer.
JSF facelets are used in the presentation tier, using Mojarra and PrimeFaces.
The project seeks to achieve comprehensive coverage through the use of both unit and integration tests, written in JUnit 4.
The unit and integration tests for EJBs and the domain model rely on the EJB 3.1 container API.
The integration tests for the presentation layer relies on the Arquillian project and its Drone extension (for execution of Selenium tests).