Well i am confused about the question that when session is migrated from server say 'A' Which method is called on server 'A' (sessionActivated or Passivated)and when recieved on server 'B' which method is called on 'B'(sessionActivated or Passivated).
As far as I am aware there are no methods sessionPassivate and sessionActivate. What will happen is that when an HttpSession object on server A is passivated all attributes of the session object that implement the HttpSessionActivationListener interface will have their sessionWillPassivate method called, then when the session is activated on B they will have sessionDidActivate called.
Hi, A related question.. If an attribute has been attached to the session on Server A, when the session is migrated to Server B does the object get migrated aswell ?... i.e Does the objects stored within a session need to be serialisable if the application is to be distributable ?