This tutorial shows how to use eclipse,maven,spring, and hibernate.
It is entirely based on the excellent tutorial from http://www.mkyong.com/spring/maven-spring-hibernate-mysql-example/.
However there were some issues with the pom dependencies so I added some extra dependencies.
Requirements:
- Eclipse Helios
- To import make sure to install m2eclipse.
http://www.youtube.com/watch?v=1yOwMBYSq2A
then goto file->import->Maven->Existing Maven Project.
Unzip the zip file I posted then in the Root Directory specify the directory.
once this is done it will download all dependencies into the .m2 repository.
- make sure to install mysql-5.5.16-win32.msi and mysql-workbench-gpl-5.2.35-win32
- make sure to use port 3306
then make the database mkyong and tables as defined in http://www.mkyong.com/spring/maven-spring-hibernate-mysql-example/
-then to run the application goto run as App.java
To download goto:
https://www.opendrive.com/user_account/files.php?_=1316899099774
or for facebook users.
http://www.facebook.com/permalink.php?story_fbid=118847041554902&id=100000529081658
then do file download original.
Watch the following youtube video for sample importing project.
http://www.youtube.com/watch?v=icrFxqY6NmQ
The source code download is not available in either of facebook or opendrive links. pl reupload and notify.
ReplyDeletesillyminds[[[@]]]gmail[[.[][]com