Hi, How do we maintain the session state between the client and the SFSB. When we use HTTPSession we use session.setAttribute("session1",object) and Session.getAttribute("session1") to set and get the session. How does the SFSB knows that the same client is requesting and gets the session information maintained for that particular client. I thought we can store the EjbObject got from EJBHome to session and reuse whenever the client app has to make a request to the EJBserver. Can anyone help me on this ?
You can store the EJB's Handle in the Session and retrieve the EJBObject later using the Handle.
Joined: Jun 25, 2001
Hi, Just for clarification, we need to call getHandle() on ejbObject and store that "Handle" object or use the "HomeHandle" and put the same in session ? Hari [ October 04, 2002: Message edited by: Hari babu ]