Taming Tomcat
Session replication
- To enable session replication in Tomcat, three different
paths can be followed to achieve the exact same thing:
- Using session persistence, and saving the session to a
shared file system (PersistenceManager)
- Using session persistence, and saving the session to a
shared database (JDBCManager)
- Using in-memory-replication, using the
SimpleTcpCluster that ships with Tomcat 5
(server/lib/catalina-cluster.jar)
- Algorithm only efficient for quite small clusters
- Detailed documentation here