numberguess: Example Using CDI (Contexts and Dependency Injection) and JSF (JavaServer Faces)
Author: Pete Muir
What is it?
This example demonstrates the use of CDI 1.0 and JSF 2.0 in JBoss AS 7 JBoss Enterprise Application Platform 6.
The example can be deployed using Maven from the command line or from Eclipse using JBoss Tools.
To set up Maven or JBoss Tools in Eclipse, refer to the Getting Started Developing Applications Guide.
Deploying the application
To deploy to JBoss AS 7 or JBoss Enterprise Application Platform 6 using Maven, start the server, and type:
mvn package jboss-as:deploy
The application is deployed to http://localhost:8080/jboss-as-numberguess.
You can read more details in the Getting Started Developing Applications Guide.