This clickstart integrates rest functionalities on JavaEE container (Jboss), using:
EJB 3.2
Jersey 1.9
Jboss 8 (uncomment line in persistence.xml to make it work in jboss 7.2)
Java 7
Press the button to build, test and deploy this instantly:
git clone https://github.com/valentina1987/jboss-rest-ejb-clickstart.git
mvn wildfly:run ( or mvn jboss7:run)
You can access this web-app at: http://localhost:8080/jboss-rest-ejb-clickstart/
The following items should be installed in your system:
- Maven 3 (http://www.sonatype.com/books/mvnref-book/reference/installation.html)
- git command line tool (https://help.github.com/articles/set-up-git)
- Eclipse with the m2e plugin (m2e is installed by default when using the STS (http://www.springsource.org/sts) distribution of Eclipse)
Note: when m2e is available, there is an m2 icon in Help -> About dialog. If m2e is not there, just follow the install process here: http://eclipse.org/m2e/download/
- In the command line
git clone [email protected]:valentina1987/jboss-rest-ejb-clickstart.git
- Inside Eclipse
File -> Import -> Maven -> Existing Maven project