Simple Session-Sharing in Tomcat Cluster Using the Session-in-Cookie Pattern
blog.shinetech.com
In a recent project we needed to deploy application changes to a Tomcat cluster without outage to the end user. To accomplish this the Tomcat sessions needed to be shared across the nodes. We opted to implement a variant of the Session-In-Cookie pattern popular in the Rails framework, a simple solution to session sharing.