One embodiment of the present invention provides a system that facilitates interaction
management between loosely coupled applications. The system operates by first receiving
one or more Data Tokens at a Databus. A Databus is a computing process, which provides
persistent storage, computation services, and scheduling services. The system stores
these Data Tokens in a matching queue within the Databus. Next, the system creates
a Data Token entry within data tables, which specify the Data Tokens stored in
the matching queue. A matching process matches the Data Token with registered Reactions
in the Reaction matching tables. These Reactions specify the persistent query or
exclusive interest of Data Tokens required for performing a service. When all Data
Tokens required for the service are available, the system places a scheduling entry
in a scheduling queue to schedule the execution of the matched Reaction that provide
the requested service.