JPA Web Application Tutorial
This tutorial demonstrates how to create and run a database driven Java web application using Tomcat 6, ObjectDB and JPA.
The demo web application manages a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. The visitors that have already signed are listed below the form:
Persistence is managed by JPA. Every visitor that has signed the guestbook is represented by a Guest entity object and all the 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: