Chapter 7. Processing Data Grid Events

So far we have used Coherence in a somewhat imperative way. We used the API to store and retrieve data from it, to run queries, and to execute entry processors, invocable agents, and Work Manager tasks. In many cases, a typical application will require us to use Coherence in this way; however, there are situations where we want our application to simply observe what's going on within the cluster and to react only when an event of interest occurs. Fortunately, Coherence makes this a breeze.

There are a number of different events that Coherence raises, to which any interested application can subscribe. As a matter of fact, many of the core features of Coherence, such as creation of backup copies of data and ...

Get Oracle Coherence 3.5 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.