Java EE JPA Tutorial - Maven Project
The Java EE 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 JPA Web App - Maven Project (7KB)
If Maven is installed - extract the zip and run the application from the command line:
> 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:
- Java EE 6 JPA Tutorial - Eclipse Project
- Java EE 6 JPA Tutorial - NetBeans Project
- Java EE 6 JPA Tutorial - IntelliJ Project
NetBeans IDE and IntelliJ IDEA have built in Maven support.