3.13.2. Remote Event Notification Framework
The remote event notification framework allows a subset of the information available through OpenJPA’s transaction events (see Transaction Events) to be broadcast to remote listeners. OpenJPA’s data cache, for example, uses remote events to remain synchronized when deployed in multiple JVMs.
To enable remote events, you must configure the EntityManagerFactory to use a RemoteCommitProvider (see below).
When a RemoteCommitProvider is properly configured, you can register
RemoteCommitListeners that will be alerted with a list of modified object ids whenever a transaction on a remote machine successfully commits.