EJB.5.6 Client View of Session Object's Life CycleFrom a client point of view, the life cycle of a session object is illustrated in Figure EJB.5-2. Figure EJB.5-2. Life Cycle of a Session Object
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 remote interface. A client that has a reference to a session object can then do any of the following:
It is invalid to reference a session object that does not exist. Attempted invocations on a session object that does not exist result in java.rmi.NoSuchObjectException . |