Restful Spring MVC Hibernate example also uses jquery, mysql and bootstrap.
##Setup
- Download and install Spring Tool Suite http://spring.io/tools/sts
- Download and install Git http://git-scm.com/downloads
- Open STS and create a workspace
- Navigate to the workspace folder (terminal or cmd) and run the Git command
git clone https://github.com/seana7a7/springmvc-hibernate-example.git
- Click File -> Import -> General -> Existing Project into Workspace
- Click Browse navigate to the workspace and select the
springmvc-hibernate-example
folder - Click finish
- Right click on the project -> Maven -> Update Project
- Click OK
##Database Setup
- Download and install MySQL http://dev.mysql.com/downloads/
- Create a database called
db
- Create a local user
dbuser
with the passwordspringapppassword
and add all privileges fordb
##Deploy
- Right click on the project Run As -> Run On Server -> Click Finish (Using the default VMware vFabric Sever)