Skip to content
Errai CDI Integration Project
Pull request Compare This branch is 41 commits ahead of frogaczewski:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Running and testing the CDI integration

1.) Build the top level module first (!)

	mvn clean install

2.) Change into the 'example/gui' directory

Either run

	mvn gwt:run


	mvn gwt:debug

to launch the hosted mode browser

3.) Connect with a browser of your choice to the URL given in the hosted mode browser.
The default login is 'admin:admin'

    || NOTE: This does require installation of the OOPHM plugin:
Deployment on JBoss-6.0.0

The current setup bootstraps the CDI container within the servlet engine
when running in hosted mode. However when running on JBoss 6, CDI already
ships with the application server.

In order to successfully deploy to JBoss 6, three steps are necessary:

1) Do a clean rebuild (!) with the '-Pjboss6' profile switch
 mvn -Pjboss6 clean install

2) Update the installer properties

 Change 'jboss.home' and 'jboss.deploy.path' in the install/ file.

3) Run the installer

  Switch into the 'install' directory
  Execute 'ant'

    || NOTE: Make sure to run a clean build every time you switch between hosted mode
    || and deployment on JBoss 6. It replaces the web.xml.

Examples on jboss6

The example application runs under:



If you run into trouble don't hesitate to get in touch with us:

User Forum: 
Mailing List:
IRC:            irc://

Have fun,
The Errai Team

Something went wrong with that request. Please try again.