Spring MVC and JPA Tutorial
This tutorial demonstrates how to create and run a full Java Spring MVC (Model View Controller) web application using Tomcat (or GlassFish), JPA, ObjectDB and Maven.
The demo web application manages a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. All visitors that have already signed are listed below the form:
Persistence is managed by JPA. Every visitor that has signed the guestbook is represented as Guest
JPA entity object, and all Guest
entity objects are stored in an ObjectDB database.
This tutorial is available in the following versions:
In addition, the demonstrated application is available as a Maven project: