We want to split the working application into two different .war files so that we can update one application without affecting the other. Each webapp will have a different user interface, different users, and a different deployment schedule.
The easiest way, apparently, is to share the same session, so if application A is installed by session.setAttribute("foo", "bar") application B, it will be able to see it.
Is there a way to share the HttpSession state for both applications in the same Tomcat instance?
Our application runs on dedicated Tomcat 5.5, there are no other applications running on the same tomcat instance, so any security issues associated with a shared session are not a problem. We are launching several instances of Tomcat, but the balancer uses sticky sessions.
If this is not possible or this exchange session is a really bad idea, leave a comment.
java java-ee tomcat session
Serxipc Mar 20 '09 at 12:32 2009-03-20 12:32
source share