To create an application that uses the JPA, you define the entity class in the application. An entity class is used for handling the database table records as Java objects. When a user performs the new operation in the application, an entity class instance is generated.
This section describes the creation of a JPA application.