Summary
The ability to raise and respond to events as the data changes is an extremely powerful concept that can lead to better architectural solutions for many problems.
In this chapter, we looked into the set of features Coherence provides that make implementation of event-driven applications not only feasible, but simple and enjoyable as well.
We discussed the core concept of map listeners, which allow any application to observe cache events and react when an event of interest occurs. We talked about both client-side listeners, which allow many applications or processes to receive the same event, and backing map listeners, which allow you to ensure that the event is handled only once, and as close to the data that caused it as possible.
Then we ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access