O'Reilly logo

J2EE™ Applications and BEA™ WebLogic Server™ by Sandra L. Emerson, Rob Woollen, Michael Girdley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CMP Entity Bean Example

Instead of writing cumbersome JDBC code, the CMP bean writer provides only the business logic and deployment descriptors. CMP can offer the developer faster development time and better performance than BMP entity beans. The CMP entity bean class is abstract. This enables the EJB container to implement persistence logic by generating a class that extends the bean class.

Note

This section covers the EJB 2.0 CMP model. At the time of publication, the EJB 2.0 specification is not yet final. Please consult the EJB 2.0 specification and the WebLogic Server documentation for information about late changes in the specification.

Container-Managed Fields

Every container-managed entity bean has a set of container-managed fields, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required