O'Reilly logo

Enterprise JavaBeans™ Component Architecture: Designing and Coding Enterprise Applications by Paul Anderson, Gail Anderson

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

7.7. Key Point Summary

This chapter not only introduces container-managed persistence (CMP), but it also stresses the importance of relationships between entity beans. Entity bean structure is similar, whether you're using CMP or BMP. However, with CMP, the container generates code based on abstract access methods and declarative information provided by the bean developer during deployment.

Here are the key points from this chapter.

  • Entity beans model business data. Each entity bean in general maps to a corresponding row in a database.

  • Entity beans have a unique primary key that maps to the underlying database primary key.

  • If CMP entity beans are related (for example, the Customer EJB is related to zero or more Order EJBs), then we use container-managed ...

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