Spring 3, Maven, MySql, Hibernate simple CRUD web application.
Basic Steps to create a Spring Web App with Persistence
- Setup the maven project and adjust the folder structure
- Add dependencies
- SetupDB
- Create model class – Add Annotations
- Create DAO components - @Repository
- Create Service components - @Service
- Create Controller component - @Controller
- Create View components – JSPs, JSTL
- Adjust Configurations (jdbc, spring xmls, hibernate, logs etc)
- Clean install your project and deploy it.