[JBoss] JBoss AS7 | EAP6 + Seam 3 + Maven 3 on Fedora 16
April 6, 2012
Recently I looked for Seam 3 applications running into JBoss AS7 (foretaste purpose) or EAP 6 (Professional use purpose).
So I uncompressed the following packages into a temporary directory (Test purpose) of a common|standard user of the system :
- JBoss EAP6 Beta – Server which provides software applications with services such as security, data services, transaction support, load balancing, and management of large distributed systems. – -> Download Package
- JBoss AS7 – Server which provides software applications with services such as security, data services, transaction support, load balancing, and management of large distributed systems. -> Download Package
- Seam 3 – Seam is a powerful open source development platform for building rich Internet applications in Java. – -> Download Package
- Maven 3.0.3 -> well, if you are using Fedora or RHEL, be root on your system and run “yum install maven”. If not, then go to http://maven.apache.org to install the application
Then I set the JBOSS_HOME directory with the path of my application server – Here I chose to use JBoss EAP6 Beta : export JBOSS_HOME=/home/user/jboss-eap-6.0 (you can set it definitively in the maven settings.xml file or in you local profile).
I ran the JBoss EAP6 Beta Application Server in standalone mode with the following command :
I opened the seam-3.1.0.Final/examples directories to set the following stanza in the pom.xml file :
Finally, I choose one of the Seam 3 examples, went to the corresponding directory and I compiled and deployed it to the running JBoss EAP6 Beta application server with the following commands :
mvn package jboss-as:deploy
and then went to the following URL : http://localhost:8080/seam-booking