White Papers
EJB 2.0 Container-Managed Persistence Example
Overview The Enterprise JavaBean 2.0 (EJB 2.0) approach to Container-Managed Persistence (CMP) allows multiple entity beans to have container-managed relationships among themselves. It accomplishes this by introducing a local model which uses local interfaces, in addition to a remote model that uses remote interfaces. The CMP local model can be more tightly coupled than the remote model, and it avoids the performance overhead of the remote model. It is also closer to the Java programming model, particularly in regards to passing parameters between enterprise beans. This paper reviews the EJB 2.0 CMP changes noted in the earlier paper. It shows how to apply the new local model and to implement session and entity beans that use CMP and Container-Managed Relationships (CMR).
| Publisher | Sun Microsystems | File Format | HTML |
|---|---|---|---|
| Date Published | July 2001 | ||
| Format | White Papers | ||
| Topics |
|
||



