...
Session Clustering using a Database
There are a number of different clustering solutions available for use with jetty: WADI, which shares the sessions in memory as needed in a distributed manner and Terracotta, which is a highly-efficient distributed object solution.
Jetty now provides another alternative, which persists sessions Jetty can support session clustering by persisting sessions to a shared database. Each jetty instance locally caches sessions for which it has received requests, writing any changes to the session through to the database as the request exits the server. Sessions must obey the Serialization contract, and servlets must call the Session.setAttribute() method to ensure that changes are persisted.
...