I am working on a project that requires really high availability and my team is currently working on upgrading some infra-structure and software for a future release.
One of the features we would like to enable is to have session replication across not only different servers, but ideally across different sites (geographically spread). Is that possible? What are the approaches?
For what I have seen so far, to enable session replication, the usual vendor approaches are either one of these:
- Serializable session attributes
- < distributable /> tag in the web.xml with additional configuration in vendor specific xml
Are there other approaches? Should I go for in-memory replication? Or should I persist the session state? What app server vendors implement each solution?
Edit: I started a bounty, so I really am looking for a comprehensive answer. :)