5.1 Organization of this chapter

The JPA is a specification aimed at simplifying the designing and coding of the database-related processing and is used for mapping Java objects and relational database (O/R mapping). By using the JPA, you can operate the database information as a Java object (entity), and set up a system efficiently.

This chapter gives an overview of JPA and describes the JPA usage with Application Server. The following table describes the organization of this chapter.

Table 5-1 Organization of this chapter (Using JPA with Application Server)

CategoryTitleReference location
ExplanationFeatures of JPA5.2
JPA functionality that can be used with Application Server5.3
EntityManager5.4
Persistence context5.5
ImplementationHow to obtain a container-managed EntityManager5.6
How to obtain an application-managed EntityManager5.7
Definitions in persistence.xml5.8
Allocating persistence.xml5.9
JPA interfaces5.10
NotesNotes on setting up applications5.11

Note: The functionality-specific explanation is not available for Settings and Operations.