Java Persistence API (JPA) provides standard ORM technology to access a relational database. It replaces CMP entity beans provided in EJB.
JEUS supports all functions of the JPA specifications. JPA is defined as part of the JPA 2.1 specification in JSR 338, does not depend on an EJB container, and can be used by EJBs, web modules, and Java SE Standalone clients.
Moreover, JPA can be used by selecting a persistence provider implementation. JEUS provides the EclipseLink implementation classes of Eclipse Persistence Services Project by default.
Other implementations can also be selected for use. For more information, refer to "3.1. Changing the Persistence Provider".
When using JPA, you must consider both the basic attributes of the APIs and the characteristics of the settings and providers, which are supported by the JPA specification. In particular, developing an application without considering an important attribute, such as caching, may not produce the desired result. Therefore, developers should develop an application with proper JPA configuration according to the environment. It is recommended to continue to refer to the EclipseLink JPA website, where such information will continue to be introduced using various patterns.
This document describes configurations for using the EclipseLink, the basic provider in JEUS. For more information about the JPA technology or the programming methodology, refer to Reference Data.