Java EE 6 JPA Tutorial - Maven Project

The Java EE 6 Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for GlassFish 3/ JBoss 6) in Eclipse or NetBeans.

Building a new application step by step is an effective way to learn - but if you prefer, you may download and run the result application as a Maven project:

Java EE 6 JPA Web App - Maven Project (6KB)

If Maven is installed - extract the zip and run the application from the command line by:

> mvn package

The current directory should be guestbook-jee6.

You will have to deploy the generated war file in your GlassFish server.

You may also open and run the Maven project in your IDE:

NetBeans IDE and IntelliJ IDEA have built in Maven support.