Pull request Compare This branch is 3274 commits behind jboss-developer:7.1.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


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.

System requirements

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.