uCosminexus Application Server, Application Development Guide

[Contents][Glossary][Index][Back][Next]

Appendix L.2 Using JPA

When you are developing JPA applications, you must set up the facet.

To set up the facet:

  1. In the Project Explorer view, choose the dynamic Web project or EJB project using JPA.
  2. From the Eclipse menu bar, choose Project - Property.
    The Property: Project-name dialog box appears.
  3. In the left pane of the Property: Project-name dialog box, choose Project Facets.
    The Project Facets page appears.

    [Figure]

  4. In the Project Facets page, check JPA, and then specify 2.0 as the version.
    On the Project Facets page, Further configuration required or Further configuration available is displayed.

    [Figure]

  5. Click the link displayed in step 4.
    The Modify Faceted Project dialog box appears.

    [Figure]

  6. In the Modify Faceted Project dialog box, enter the following items.
    • Specify Generic 1.0 in Platform.
    • Specify Disable Library Configuration in Type of JPA implementation.
  7. Click the OK button.
  8. In the Property: Project-name dialog box, click the OK button.