Discussions

EJB design: Maitaining HTTP Session using Stateless session beans

  1. Hi

    How do I maintain HttpSession objects of the client, across stateless session bean calls from the client?
    Is there any way thru which I can maintain the HttpSession Object of the calling client servlet when I am using a stateless sission bean ?

    Thanks
    Sabyasachi Chowdhury
  2. Maintain stateful (session) objects in your servlet layer. Pass these objects to the Stateless Session Bean as method parameters every time they are needed.