In this section we will discuss about the features of JPA (Java Persistence API). This section will give you an idea about the capabilities of JPA based applications. These days' java developers are using Java Persistence API to develop complex applications.
The introduction of Java Persistence API (JPA) into JEE specification is another major steps towards simplifying the development processes. JPA simplifies the entity persistence model and adds new capabilities. These new capabilities were not present in the earlier versions of EJB (EJB 2.1). Now developers can directly map the persistence object (POJO classes) with the relational database. The Java Persistence API has standardized the object-relational mapping technique.
The JPA can be used outside the container, which was earlier not possible in the EJB 2.1. You can use JPA in your swing applications also.
Here are the features of JPA:
The Java Persistence API is now here to simplify the developer's life. Developers can now use the JPA API to develop the applications easily. Here are the features of JPA:
In the next sections will discuss the steps to develop application using JPA specifications. We will be using MySQL and hibernate to develop the example applications.
Liked it! Share this Tutorial