Hi, I am new to EJB. And refering to Server Side Programming, J2EE edition by wrox. I am having query regarding how the stateful session bean maintains the state between two request calls of the same user? How it identify the user? Thanks, Sachin
posted 14 years ago
The client must maintain a reference to the Stateful Session Bean. For Web Clients this is usually done by putting the Stateful Session Bean's Handle in an HttpSession and then later using the Handle to get a reference to the EJBObject.