Originally posted by Madhu Sudhana : I heard that about HttpSessionActivationListner interface
is it for the apps deployed in two different JVMs??
No, it has nothing to do with multiple JVMs.
There are ways for one context to get access to another context's objects but the methods for doing so aren't clearly defined in the servlet spec. This means that their implementation varies from one container to another. If you'd like, tell us what container you're using I can move this thread to the forum for that container. Maybe someone there will know how such things are done in that container. [ August 22, 2007: Message edited by: Ben Souther ]
It is not possible to share session between two unrelated applications.
If I am getting it right, this is the case of SSO (Single Sign On). You want to make user authenticated by one application, able to use other application without providing credential once again. Sign on one time and use all the application seamlessly without signing on once again.
You can implement your own SSO using different techniques. Like revers proxy, in which authentication server intercepts all user request and redirect it to cooperating applications. Application share data using cookie /common DB.
Regards Alok Singh Kushwah
Joined: Jan 14, 2007
EDIT | I should learn to read :roll: [ August 22, 2007: Message edited by: Chris Corbyn ]