Java EE 6 JPA Tutorial - Maven Project
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:
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.