Java EJB - Life Cycle of a Session Object

UML Protocol State Machine Diagram Example

This is an example of UML protocol state machine diagram which shows life cycle of a Java™ EJB session object from the point of view of a local or remote client using the Java EJB 2.1 and earlier client view API.

State Machine Example - Java EJB Life Cycle of a Session Object.

Java EJB life cycle of a session object - UML protocol state machine diagram example.

From the point of view of a local or remote client using the EJB 2.1 and earlier client view API, the life cycle of a session object is illustrated below. A session object does not exist until it is created. When a client creates a session object, the client has a reference to the newly created session object’s component interface.