rearchGIT / springmvc-hibernate-example

Restful Spring MVC Hibernate example that also uses jquery, mysql and bootstrap.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

springmvc-hibernate-example

Restful Spring MVC Hibernate example also uses jquery, mysql and bootstrap. ScreenShot

##Setup

  1. Download and install Spring Tool Suite http://spring.io/tools/sts
  2. Download and install Git http://git-scm.com/downloads
  3. Open STS and create a workspace
  4. Navigate to the workspace folder (terminal or cmd) and run the Git command git clone https://github.com/seana7a7/springmvc-hibernate-example.git
  5. Click File -> Import -> General -> Existing Project into Workspace
  6. Click Browse navigate to the workspace and select the springmvc-hibernate-example folder
  7. Click finish
  8. Right click on the project -> Maven -> Update Project
  9. Click OK

##Database Setup

  1. Download and install MySQL http://dev.mysql.com/downloads/
  2. Create a database called db
  3. Create a local user dbuser with the password springapppassword and add all privileges for db

##Deploy

  1. Right click on the project Run As -> Run On Server -> Click Finish (Using the default VMware vFabric Sever)

About

Restful Spring MVC Hibernate example that also uses jquery, mysql and bootstrap.

License:MIT License


Languages

Language:Java 78.3%Language:JavaScript 18.3%Language:CSS 3.4%