This example demonstrates Payara's Clustered singleton functionality
In it's most simple form, you just add @Clustered annotation to your @Singleton or @ApplicationScoped class and make it serializable
See Payara Documentation at https://docs.payara.fish/documentation/payara-server/public-api/clustered-singleton.html
See Payara blog at https://blog.payara.fish/clustered-singleton