Java Persistence API

The Enterprise Java Beans (EJB) was commonly used in previous versions of WebSphere Commerce. Starting with Version 9, the Java Persistence API (JPA) will be the standard.


Compatibility with previous versions

EJB was commonly used in previous releases, but from 9.0.0 on, EJB 1.1/2.x support will be deprecated. The APIs that will be supported are JPA, and EJB 3.x. JPA will be the standard technology used for customization of WebSphere Commerce features.

Existing EJB-based access beans have been replaced by JPA-based Access Beans. Most of the interfaces for these beans are the same as in the previous programming model. For existing 2.x session beans, we provide 3.x session beans using annotation, instead of XML, for configuration. Customizations based on EJB should be migrated to JPA and 3.x session beans.


Guidelines for customizing WebSphere Commerce using JPA