C H A P T E R  28

Java Persistence API

The target of the Java Persistence API (JPA) is to specify a standardized, simple to use persistence model that can be used with both Java SE and Java EE. The best features and ideas flowed in, mainly from Hibernate, TopLink, and JDO. Consequently, an application that uses the interfaces of the JPA is completely independent of a special framework such as Hibernate. Its application keeps the same independence as it had before it was used with the Java Database Connectivity (JDBC) interface.

The JPA is mainly characterized by its lightness and its slimness. One of the main features of the JPA is the specification of the object relational mapping by the Java annotations directly in the persistence object. ...

Get The Definitive Guide to NetBeans™ Platform 7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.