Originally posted by Akshay Kiran:
narendra
you are clearly confusing the words "sharing" and "migrating"
there is a vast difference.
sharing means being available to two different contexts concurrently
and migrating means changing hands, i.e getting transferred from the scope of one context to another.
Hi,
There is no confusion in sharing and migrating.
According to the spec. You can not share and migrate the session in another web application as the Httpsession object is scoped to application only.
In the distributed environment, you can migrate session from one JVM to another JVM as the same application is running in different JVMs. But the session is active only in one JVM at the point of time. This is not sharing.
In the last part I am talking about the large scale enterprise application, where the out of box mechanism is used to maintain the sessions accross differnt applications, here you can share the same session information across the applications. I typically pointing to Single signon applications provided by the Oracle, Sun, IBM in enterprise environment. I do not know the exact mechanism used in this, but you can able to share the session information using this applicatins.
Thnaks
Narendra Dhande
SCJP 1.4,SCWCD 1.4, SCBCD 5.0, SCDJWS 5.0, SCEA 5.0