Databases Reference
In-Depth Information
As shown in this diagram, Active Data processing message flows are as follows:
1.
The
Active Data Cache
receives a data change Event
(Insert, Update,
Upsert
, and
Delete)
that happens to one of its managed
Data Objects
.
2.
The
Active Data Cache
persists the change to the repository, and raises
an Event to notify the changes to
ViewSet
, which is listening on particular
Events in the notification queue.
3.
The
Active Data Cache
calculates how the change is affecting the specific
continuous query that it is running for the user, and in the end, it will generate
a
ChangeList
, and push it through the
Messaging Framework
for asyn-
chronous delivery.
4.
The
Report Cache
gets notified when the
ChangeList
arrives, consumes
the XML payload through the
Messaging Framework
, and saves it into its
internal cache.
5.
The
Report Cache
pushes the
ChangeList
to the
Report Cache Channel
,
which is an internal or JMS topic.
6.
The
Report Server
receives the
ChangeList
from the
Report Cache Chan-
nel
.
7.
The
Report Server
sends the
ChangeList
to the client through the persist-
ent connection established by
ActiveDataServlet
that you saw before.
8.
Client side JavaScript receives the
ChangeList
, and then updates the
Views opened in the browser to reflect the changes in real time.