The notable features of EJB whose purpose and design you should understand include:
The notion of beans as independently deployable components and containers as standardized execution environments.
The lifecycle support for individual bean types from the client and server points of view.
The support for persistency through declaration of persistent entities.
The support for transactions through declaration of transactional attributes.
Questions.Â
Explain what a bean and a container is in EJB.
The EJB standard defines stateful session beans, stateless session beans, message driven beans and entities. Describe the basic properties and the intended application of these four types of beans.
Describe the lifecycle of a stateful session bean in EJB, that is, when instances of the bean are, or appear to be, created and destructed, from both the client and the server points of view.
Describe the lifecycle of a stateless session bean in EJB, that is, when instances of the bean are, or appear to be, created and destructed, both from the client and the server points of view.
Describe the lifecycle of an entity bean in EJB, that is, when instances of the bean are, or appear to be, created and destructed, both from the client and the server points of view.