Hi, I want to use a servlet to call a session EJB. Since there is only one instance of servlet in a web container, how can a stateful session know which client is calling it? Should I use stateless sessionbean and pass HttpSession obj from servlet to the stateless session bean? Any comments? JB
As far as know, in such cases, you should keep the handle of the stateful session bean in HttpSession and leter retrieve the bean using handle. Please let me know whether this answers your question. Cheers, Naresh
Joined: Mar 10, 2002
Yes. U did. Thanks.
subject: Manage session between servlet and session bean