Payara Server 151 Sneak Preview - Hazelcast Session Persistence
Originally published on 17 Dec 2014
Last updated on 15 Jun 2016
The official stance on Clustering and HA for GlassFish 4.1 open source edition is;
"These features are included in the release, but they may not function properly with some of the new features added in support of the Java EE 7 platform.”
With that in mind and the low activity on the Shoal development repo we decided to integrate Hazelcast into the core of Payara to provide robust session clustering and in the future our JSR107 JCache implementation.
What is Hazelcast?
To quote from the source Hazelcast is an In-memory Data Grid. A Data Grid provides resilient, scalable, in-memory clustered storage for Java objects. Therefore Hazelcast is ideally suited for building a resilient session store.So how do I use it in Payara Server?
Our latest Jenkins builds now have Hazelcast built in but disabled by default so there's no installation required. In this example video we will create a 2 node cluster, deploy a cluster test application and demonstrate session persistence while we restart the whole cluster.
Related Posts
Payara Server's High Availability Architecture: A Quick Technical Overview
Published on 05 Jun 2024
by Luqman Saeed
2 Comments
Remote CDI Events in Payara Platform
Published on 26 Dec 2022
by Luqman Saeed
0 Comments
The Jakarta Contexts and Dependency Injection API is the standard dependency injection framework on the Jakarta EE Platform. The latest version of the CDI specification that shipped withJakarta EE 10 is CDI 4.0. This release features a split of ...