Life-cycle sequence of session beans
In the previous section we described the responsibilities of each callback method, and how they are used in transitions of beans between the states.
We extend that discussion to describe the actual sequence of events that occur when a session bean is created, used, or removed. We also have to consider the passivate and activate life cycles as well. We want to show how the container actually manages the beans based on either container or client-based events, and the order in which those activities occur. Stateless and stateful session beans conform to a completely different set of container-bean contract rules, so these will be discussed independently.
Stateless session bean life cycle
We discuss the life-cycle ...