Hello Diethelm,

There is an article "Pushlets: Send events from servlets to DHTML
client browsers".
http://www.javaworld.com/javaworld/jw-03-2000/jw-03-pushlet_p.html

Maybe this will help.



/ Shamil 


Thursday, December 28, 2000, 12:14:57 AM, you wrote:

DGG> We have at least two different projects where our clients have asked
DGG> for the ability to send a proactive message to the client, advising
DGG> him or her of an exceptional situation.  As I understand things, this
DGG> is not possible in a pure browser model, where the browser has a
DGG> simple cycle of "read data, send to server, read response, show to
DGG> user".  Therefore, it seems obvious the requirements for proactive
DGG> messages cannot be supported without some additional mechanism; I can
DGG> see two ways out:

DGG> 1. Have every page refresh itself every N seconds, and show proactive
DGG>    messages when they appear on the server.  This is tantamount to
DGG>    polling, is an ugly hack, and I only mention it for completeness.

DGG> 2. Have an applet running on the browser, listening on a specific
DGG>    port; when a message arrives, pass it on to the browser (probably
DGG>    via JavaScript) so that the browser can do something with it.  This
DGG>    add listening functionality to the browser, and may open up a whole
DGG>    can of worms in terms of security.

DGG> Does anybody have opinions on how this could be handled? Does Turbine
DGG> provide any mechanism for this kind of functionality? If the applet is
DGG> the way, anybody knows any open source components that implement this
DGG> solution? Comments are welcome.  Thanks,




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to