This application is a minimalistic Java EE 6 example. It includes JSF, EJB, JPA and junit testing.
Clone the repository and use mvn clean install to build the application. Use mvn jboss-as:deploy to deploy the application on a running JBoss 7 / JBoss EAP 6 server.