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)
Category | Title | Reference location |
---|---|---|
Explanation | Features of JPA | 5.2 |
JPA functionality that can be used with Application Server | 5.3 | |
EntityManager | 5.4 | |
Persistence context | 5.5 | |
Implementation | How to obtain a container-managed EntityManager | 5.6 |
How to obtain an application-managed EntityManager | 5.7 | |
Definitions in persistence.xml | 5.8 | |
Allocating persistence.xml | 5.9 | |
JPA interfaces | 5.10 | |
Notes | Notes on setting up applications | 5.11 |
Note: The functionality-specific explanation is not available for Settings and Operations.