Remote CDI Events in Payara Micro
Since Payara Micro 188.8.131.52
Payara Micro Enterprise can listen to and fire CDI events across the cluster of Payara Micro instances, and also across Payara Server instances within the same cluster. Payara Micro supports the same functionality for remote CDI events as provided by Payara Server.
Payara Micro also provides additional methods to fire events and register listeners programmatically. You can view the methods associated with CDI Events in the appendices.
|This feature has been available in Payara Micro long before it was available in Payara Server.|
Since Payara Micro 184.108.40.206
On prior releases, it was necessary to initialize the event bus using
ClusteredCDIEventBus.initialize() manually upon startup. Although this method
is still available in the API, it is not necessary anymore, since the event bus
is automatically initialized after an application is started.