I want to store the reference of a Stateful Session Bean for maintaining state. I know that I can put in a servlet some code to store the reference to the Stateful bean in session.
Then on subsequent invocation servlet can check if the Stateful bean reference exists in HttpSession, and use it to get back to the same Stateful bean. This will work on Struts.
But in JSF we have Faces Servlet passing the control to managed beans. These managed beans can then use Business Delegate (Which uses ServiceLocator) to get to the EJBs.
Managed Beans get bounded value from JSP instead of HTTP Session.
In the above scenario (JSF lifecycle) where/how can i store the Stateful Session Bean reference in HttpSession so that client can go back to the same Stateful Bean?
Any response is much appreciated and Have a great weekend