Package com.hazelcast.web

Provides Hazelcast-based session replication.

See: Description

Package com.hazelcast.web Description

Provides Hazelcast-based session replication.

To use Hazelcast to provide clustered sessions in a webapp, add the following components to your web.xml:



WebFilter should be first in the filter chain to ensure session actions performed in other filters in the chain are replicated. Additionally, note that both the WebFilter and SessionListener must be registered for clustered sessions to work properly. The SessionListener informs the WebFilter of session timeouts so it can update the cluster accordingly.

WebFilter supports several &lt;init-param/&gt; values which can be used to control its behavior. For more details, check its documentation.

Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.