[video] GWT and Errai UI Quickstart
Get startedCheck out this code using GIT: https://github.com/lincolnthree/errai-ui-demo
To build and deploy, simply
cd errai-ui-demo and run
mvn clean install. The resulting artifact will be in the target directory, and you can deploy this directly to JBoss AS 7.1.
Import into IDE and delployTo work on the project in an IDE, I would recommend Eclipse with JBoss Tools (available in the eclipse marketplace,) or JBoss Developer Studio 5. The first thing you will need to do is import the project, then you will still need to run
mvn gwt:run, which will launch GWT dev-mode.
Run Dev-modeOnce dev-mode comes online, you can access the application at http://localhost:8080/errai-ui-demo/?gwt.codesvr=127.0.0.1:9997
Hack on the codeYou can make modifications to *.client packages and sub-packages while the server is running, and refresh the page to see your changes.
Additional documentation about Errai and Errai UI is available here: https://docs.jboss.org/author/display/ERRAI/Errai+UI
Posted in JBoss