ObjectDB ObjectDB

JPA Web App Tutorial - Eclipse Project

To open and run the JPA Web Application tutorial project in Eclipse:

  • Download and extract the project zip file:

    JPA Web App - Maven Project (6KB)

  • Open the Maven project in Eclipse:
    Select File > Import... > Maven > Existing Maven Projects and click Next.
    Select the guestbook-web 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/.