Beta Draft: 2013-04-04
The following topics introduce the new and changed features of EclipseLink and other significant changes that are described in this guide, and provides pointers to additional information.
EclipseLink 2.4.2 includes the following new and changed features that are documented in this book. This list does not necessarily include all new or changed features in this release. It only includes the new features that are documented in this book.
Client isolation, where multiple application tenants may share database tables and schemas. This allows applications to manage entities for multiple tenants in the same application. See Chapter 13, "Tenant Isolation Using EclipseLink."
RESTful persistence, where Java Persistence API (JPA) entities can be exposed through standards-based RESTful services such as JAX-RS, using either JSON or XML media. See Chapter 18, "Exposing JPA Entities Through RESTful Services Using EclipseLink Data Services."
Support for TopLink Database Change Notification (DCN), which allows the database to notify TopLink of database changes so that cached objects can be invalidated in the shared cache. See Chapter 19, "Using Database Events to Invalidate the Cache."
NoSQL database support, allowing objects to be mapped to non-relational (NoSQL) data sources. See Chapter 20, "Using EclipseLink with NoSQL Databases,".
For a complete list of the changes in this release, see
For this release of EclipseLink, this guide has been updated in several ways. Following are the sections that have been added or changed.
Moved installation information from appendix to Chapter 2, "Installing EclipseLink,".
Added new chapter, Chapter 5, "Using EclipseLink with JBoss 7 Application Server," to describe how EclipseLink can be used with applications deployed to JBoss Application Server 7.1.
Added new chapter, to describe how EclipseLink can be used with applications deployed to IBM WebSphere Application Server
Added new chapter, Chapter 6, "Migrating from Native TopLink," to describe migrate applications using "native" TopLink object-relational mapping (ORM) APIs to the current EclipseLink APIs.
Added information about data partitioning in Chapter 9, "Scaling Applications in Clusters."
Split Chapter 10, "Providing Software as a Service." into four chapters:
Chapter 10, "Providing Software as a Service." This is now just an overview of the following three chapters.
Chapter 13, "Tenant Isolation Using EclipseLink" and also updated this chapter with information about Virtual Private Database (VPD) multi-tenancy and table-per-tenant multi-tenancy
Added new chapter, Chapter 15, "Converting Objects to and from JSON Documents," to describe how to convert objects directly to and from JSON
Added information about weaving to Chapter 16, "Testing JPA Outside a Container," to describe how to use the persistence unit JAR file to test an application outside the container (for instance, in applications for the Java Platform, Standard Edition (Java SE platform)).
Added new chapter, Chapter 18, "Exposing JPA Entities Through RESTful Services Using EclipseLink Data Services," to describe how to expose JPA entities through Java Persistence API-RESTful Services (JPA-RS), using either JSON or XML media.
Added new chapter, Chapter 19, "Using Database Events to Invalidate the Cache," to describe how to use EclipseLink Database Change Notification (DCN) for shared caching in a JPA environment. DCN allows the database to notify EclipseLink of database changes. The changed objects are invalidated in the EclipseLink shared cache. Stale data can be discarded, even if other applications access the same data in the database.
Added new chapter, Chapter 21, "Using EclipseLink with the Oracle Database," to describe how to use the Oracle Database features that are supported by EclipseLink.