From this page you can download the source code of the application.
Extracting and Installing the code on tomcat
Extract the downloaded file and copy HibernateMyfaces directory to tomcat webapps directory. This will install application on tomcat server.
Follow the steps given in the previous section and create database for testing the application.
Changing the database login information
Go to HibernateMyfaces\WEB-INF directory and edit jdbc.properties to point to your database.
Compile the application
To compile the program ant tool must be installed on your system. Open console and go to HibernateMyfaces\WEB-INF\src directory and type ant command. This will compile your program.
Running and testing the program
Start tomcat and type http://localhost:8080/HibernateMyfaces/ . You browser will display the login page as shown below.
Now you can test the application.
Congratulations you have successfully developed application using JSF, Hibernate and Spring frameworks.
We request you to post your comments, suggestions and sample programs developed by you on roseindia.net.
Posted on: March 18, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles