permaculture playing cards*
The moose likes Servlets and the fly likes Session Sharing Between Two Different war Files in J2ee Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Session Sharing Between Two Different war Files in J2ee" Watch "Session Sharing Between Two Different war Files in J2ee" New topic
Author

Session Sharing Between Two Different war Files in J2ee

udhaya kumarG
Greenhorn

Joined: Jul 23, 2011
Posts: 15

Hello,

I have been working on a application, here i have a doubt on session sharing two WAR files
how to share the same session to BOTH different application. is that possible?

i have tried it in my machine, it would not allow the session to share.

what are the possible ways to achieve this.

please suggest me to go on


thank you.
suresh dasari
Ranch Hand

Joined: Oct 05, 2009
Posts: 121

Are the two war files deployed on the same container?


Sun Certified Java Programmer with 93 percent
udhaya kumarG
Greenhorn

Joined: Jul 23, 2011
Posts: 15

Yes Suresh, it deployed in the same container
Ivan Jozsef Balazs
Rancher

Joined: May 22, 2012
Posts: 867
    
    5
My guess is that it won't work.

However your goal might be achieved by other means. What do you need exactly?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session Sharing Between Two Different war Files in J2ee