Store the remote reference in HttpSession or serialize it into a file or in a database ...The storage logic should enable the retrieval of the specific stateful sess bean at a later point of time ... Later retrieve the remote reference from the storage location and invoke.
Originally posted by karthi keyan: Store the remote reference in HttpSession or serialize it into a file or in a database ...The storage logic should enable the retrieval of the specific stateful sess bean at a later point of time ... Later retrieve the remote reference from the storage location and invoke.
Incase the client for the EJB has access to HttpSession and the subsequent calls to the stateful session EJB happens with reference to the same HttpSession and we consider its reasonable to store in HttpSession ........