Deploying an Entity Bean Using CMP
After you’ve implemented a bean class, the next step is to define its deployment descriptor. This section covers what you have to specify to deploy a CMP entity bean. The examples given here are representative of a typical deployment. Refer to Chapter 15, “Deployment,” for a more complete discussion of the deployment descriptor contents.
The Abstract Persistence Schema
The deployment descriptor for a CMP entity bean contains a description of its persistent fields and relationships known as its abstract persistence schema. The information provided in the ejb-jar.xml deployment descriptor defines a logical view of an entity and its associations but it doesn’t define a physical mapping to the underlying data ...
Get Special Edition Using Enterprise JavaBeans™ 2.0 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.