Template for a Spring 4 MVC + Embedded Database examples, using HSQLDB, H2 and Derby.
$ git clone https://github.com/mkyong/spring-embedded-database
$ mvn jetty:run
Access http://localhost:8080/spring-mvc-db/
$ mvn eclipse:eclipse
Please refer to this article Spring Embedded Database examples