We want to split a working application in two different wars in order to be able to update one app without affecting the other. Each webapp will have different ui, different users and different deploy schedule.
The easiest path seams to be sharing the same session, so if app A set session.setAttribute("foo", "bar")
app B will be able to see it.
Is there a way to share the HttpSession
state for both apps in the same Tomcat instance?
Our app is running on a dedicated tomcat 5.5, there are no other apps running on the same tomcat instance, so any security concerns regarding the session sharing are not a problem.
If it's not possible or this session sharing is a really bad idea please leave a comment.