O'Reilly logo

Java EE Development with Eclipse by Deepak Vohra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding the JPA facet

We require the JPA project facet to create entity beans. We could have created a JPA project to start with, but to create a session bean facade we first created an EJB project; session beans require an EJB project by default. To add the JPA project facet, right-click on the project in Project Explorer and select Properties. Select the Project Facets node and select the JPA 1.0 project facet. Click on the Further configuration available link as shown in the screenshot:

Adding the JPA facet

In JPA Facet, select Platform as Generic 1.0. Select JPA implementation as Oracle TopLink 11g R1. We also need a database connection for JPA. To configure a new ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required