Best Of Hello World: Spring MVC CRUD App
This is a very simple and basic introductory program to start with Spring MVC CRUD Application with MySQL and Hibernate. This project gives an idea about how to create Spring MVC Full Application having Model, Controller and View binded together to perform CRUD operations with Database connection using DAO Classes and Hibernate.
This sample code is fully executable on its own based on the prerequisites are set up properly.
You are required to have few tools before you start with using the source code.
- JDK 1.8
- Maven
- IDE (Recommended - Spring Tool Suite)
- My SQL 5.6
- Git
Install JDK, Maven and Git as first step, before you get the the code base setup.
Use below URL to Clone Source Code
git clone https://github.com/get2mandar/springmvc-crud-app.gitBuild a Project using Maven by Command Line.
Change Directory to Downloaded Project Directory and execute below Maven Command.
mvn clean installYou will require a Tomcat or JBOSS some web server to run this web application. Run with any web server and view the output on a browser.