Syncrhonous and Asynchronous calls
Morgan Duchène
duchene.morgan at wanadoo.fr
Wed Nov 14 06:47:59 EST 2007
Hi,
I have a basic architecture question about the development model with
Cougaar.
* Developments with Cougaar and plugins are based on blackboard
registrations to events (objects, tasks, ...). So it is an asynchronous
model where plugins are awaken when new events they are interested in
are published.
* Cougaar also offers to interact with "the outside world" with servlets
to receive commands for example. When a browser sends a requests for a
page to and http server, it's a synchronous call as it waits for the answer.
So my simple question it this one: if we don't have the data available
on the blackboard as the servlet is sending the search parameters
(database, files, ...), what is the best way to have plugins give the
answer to the servlet?
Thanks,
Morgan
More information about the Cougaar-developers
mailing list