[null, {"document_url": "https://www.objectdb.com/tutorial/jpa/web", "unformatted_src": "/files/images/tutorial/guestbook/browser.png", "src": "https://www.objectdb.com/files/images/tutorial/guestbook/browser.png", "formatted_filename": "browser", "rendered_width": 549, "rendered_height": 334}, null]
Home » Tutorials » JPA Web App (Tomcat)


See a comparison of Hibernate, EclipseLink, OpenJPA, DataNucleus, MySQL, PostgreSQL, Derby, HSQLDB, DB4O by Versant, H2 Database, SQLite and ObjectDB


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:

< Step 6: Table Design^ TutorialsEclipse JPA Web App >


ApacheGlassFishJBoss ASJettyResinTomcatWTPWebLogicWebSpheredemotutorialweb application