Skip to main content

Jboss 5.1.0_GA, Maven, Mysql, EJB3, JSF2 sample

I thought to write this because of no completed sample found with using above technologies.

Environment

JDK 1.6
Jboss-5.1.0.GA
JSF2
Maven 3
EJB3

Note : Please copy the mysql connector jar to Jboss lib
e.x. I copied mysql-connector-java-5.1.29.jar to jboss-5.1.0.GA/server/default/lib

Clone the sample from github here
git clone https://github.com/malithmeee/library.git

Build the entire project and copy the library.ear to Jboss server.

Try to access the web page using http://localhost:8080/library.web/home.jsf

Note : Database needed to be created, and change properties in relevant files.

Comments