Enterprise ApplicationDevelopment with Ext JSand Spring
上QQ阅读APP看书,第一时间看更新

Understanding JPA implementations

The JPA specification initially evolved from the combined experiences of key ORM implementations including TopLink (from Oracle), Hibernate, and Kodo to name a few. These products revolutionized Java database interactions by abstracting the underlying SQL from the domain layer and simplifying the development effort required to implement the core CRUD operations (Create, Read, Update, and Delete). Each implementation supports the JPA standards in addition to their own proprietary APIs. TopLink, for example, provides caching enhancements that are outside of the JPA specification as well as sophisticated query optimizations for Oracle databases. The implementation that you select may depend on the requirements of your application (for example, distributed caching) and also on the underlying database itself.

The GlassFish 4 server comes bundled with the open source EclipseLink JPA implementation, and this is what we will be using in our book. More information about the EclipseLink project can be found at http://www.eclipse.org/eclipselink/. You don't need to download any files as the EclipseLink dependencies will be automatically added to your pom.xml file during the reverse engineering process.