Bean-container contract
Understanding what you as a bean developer would have to do to implement a meaningful session bean means understanding the callback and life-cycle methods of the bean, and how this bean-container contract is enforced. As we mentioned, this contract is different depending on the type of session bean: stateful or stateless. This section describes the basic concepts of the bean-container contract, such as instance pooling for stateless session beans, and activation-passivation for stateful session beans. The life cycle of each session bean type is discussed.
For the purposes of this discussion, EJBObject will be used to refer generically to the object that implements the component interface, regardless of whether it is actually ...
Get EJB 2.0 Development with WebSphere Studio Application Developer now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.