one of the exciting new features of the websphere application server (was) 5.0 release is support for j2ee 1.3. with this release of the j2ee specification comes ejb 2.0, which contains a number of features that effectively make both session and entity beans far more flexible and scalable components of an applications architecture.
major advancements in container-managed persistence (cmp), along with new capabilities such as local interfaces, combine to provide far greater consistency and efficiency for ejbs than was ever possible with earlier versions of the specification. another important capability introduced in ejb 2.0 is the ability to specify and implement relationships between entity ejbs. these container-managed relationships (cmr) allow developers to declare relationships of various cardinality between entity beans, while deferring the actual implementation and enforcement of these relationships to the underlying container. collectively, all of these ejb 2.0 features make it possible to implement complex associations between fine-grained entity beans - a capability that has been desired since the introduction of entity beans to the ejb specification.
this article will take a look at cmr, along with the cmp advancements and new local interface features that make up the ejb 2.0 specification and that will be supported by was 5.0.
ejb 2.0 & was 5.0: solid underpinnings for cmr
before delving into cmr, it is important to first address the other features of ejb 2.0 upon which cmr depends. the first feature is the advanced cmp model introduced wit... 下一页