ObjectDB ObjectDB

Java EE 6 JPA Tutorial - Eclipse Project

To open and run the Java EE 6 Web Application tutorial project in Eclipse:

  • Download and extract the project zip file:

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

  • Open the Maven project in Eclipse:
    Select File > Import... > Maven > Existing Maven Projects and click Next.
    Select the guestbook-jee6 directory as Root Directory and press ENTER.
    Select the project and click Finish.
  • Run the project in Eclipse:
    Right click the project node and select Run As > Run On Server.
    (this command is available only if Maven Integration for WTP is installed when the Maven project is imported into the IDE).
    Choose or define the server and click Finish.
  • Eclipse should open an internal browser window, but if it doesn't work properly - open an external browser at http://localhost:8080/Guestbook/.