Before I ask my question let us assume a distributed environment with 2 JVM's.
In a distributed environment we know a HttpSession cannot co-exist on both the JVM's at the same time although servletContext can.
My question is Servlet A is accessing the HttpSession on JVM 1, at the same time if Servlet B also wants to access the same HttpSession from JVM 2, what will happen? Does the Servlet A completes, then the session passivates, goes from JVM1 to JVM2, then session activates, then serves the Servlet B.
Hope my question was clear. Thank you for helping me. Thanks, Luke.