Keep in mind two important design considerations when working with entity beans.
More articles by Saleem Siddiqui, Michael Landy, & Jeff Swisher
See how EJB security is implemented using the container's support for security specified within the EJB specification. The EJB framework is designed to have security built within the container allowing the implementation of security to be effortless.
Transactions play an important role in most application development projects. This is not different when developing an EJB-based solution. Transactions can be complex features to implement, but EJB-based systems require that the vendors implement transaction processing within the container. This does not mean, however, that you do not have to be concerned about transactions.
See how, with EJB 2.0, the bean developer can implement most persistence requirements using container managed persistence.
Build a BMP bean and contrast the process with previous work with the CMP bean. In the case of a BMP bean, you must produce the appropriate persistence code for our bean instead of the container accomplishing that task for us.
Discover how to build, deploy, and use CMP (container managed persistence) beans to split the work between the component developer and the container within your Java application.
Gain the capability to manipulate the data stored within a data store through a standard interface instead of having to send manipulation calls directly to the data source in any manner.