From: Stuart Donaldson <stuartd@al...> - 2002-10-16 13:59:15
Does webware support server push technology?
In particular, can I send information to the browser, flush the output, and
then send more information?
In one application, I need to send a page, and continually update the page
with new information until an asynchronous operation completes. I don't
want to do client-side pull with a refresh because I want the server to be
in control of refreshing the page when it is necessary.
In another application, I need to send a stream of data to an applet running
on the client.
How does the servlet then get notified if the connection to the client dies
in these cases. In the CGI model, this seems to take care of itself, as
when the connection is killed by the client, apache closes the stdout from
the cgi process and the cgi process ends up terminating. But in the
AppServer model, how would this be accomplished?