Is used to implement the Comet or server push technique to notify
the client to be updated usually when the document is changed.
The ItsNat Comet approach is based on AJAX, the client is ever waiting for an
AJAX asynchronous event to return. When new code must be sent to the client
this event returns and updates the client and automatically a new AJAX asynchronous
request is sent to the server waiting to new asynchronous server changes
(technique sometimes called as
"long polling").
Use COMET if you have to monitor by web a never ending server process.
Current implementation does not need a special server but it locks a thread per client
(and a HTTP connection per client). This thread is stalled most of the time,
the scalability issue is more related to the maximun number of threads
the system can manage.
See Also: ClientDocument.createCometNotifier See Also: ItsNatDocument.addAsynchronousTask(Runnableboolean) author: Jose Maria Arranz Santamaria |