http://dtr-trading.blogspot.com/2014/02/spring-mvc-4-and-hibernate-4.html
This example builds on spring-ex01, where Spring Java configuration files replaced the standard Spring MVC template XML files created by STS in Eclipse. In addition, this code shows an end-to-end example of:
MySQL -> Hibernate -> Spring MVC -> JSP
This example has been validated with the following environment on Debian 8:
- NetBeans 8.0.2
- Java 1.8.0_40 (separate install)
- Tomcat 8.0.27 (separate install)
- Maven 3.3.1 (separate install)
- MySQL 5.5.44