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

6.8. Key Point Summary

This chapter introduces entity beans and Bean-Managed Persistence (BMP). The EJB container provides services to keep the entity bean synchronized with the underlying database, as well as providing support for transactions. The EJB container manages the life cycle of entity beans, keeping them activated for efficient access by clients.

Although entity beans and session beans have similar structure (they both have home/local home and remote/local interfaces and bean implementations), entity beans and session beans are quite different in the roles they occupy.

  • An entity bean models persistent business data. A session bean models a business process and is not persistent.

  • An entity bean's create() method inserts data into an ...

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