< Previous | Next >

Lesson 1.2: Add JPA support to the project

In this lesson you will learn how to add JPA support to the dynamic Web project that you imported in the previous lesson.
Before you begin, you must complete Lesson 1.1: Import the required resources.

Add the JPA facet to the project

  1. Right-click the JPATutorial project and then click Properties. The Properties page opens.
  2. Click Project Facets. The Project Facets property page opens.
  3. Under Project Facets, select Java Persistence 1.0 and then click Finish.
    Screen shot showing the Modify Faceted Project wizard with Java Persistence selected.
    Java Persistence 1.0 is now listed as a facet of the project.
  4. Click OK. The Properties window closes.

Lesson checkpoint

You have completed Lesson 1.2. In this lesson, you learned how to add JPA support to a dynamic Web project.
< Previous | Next >

Feedback