Discussion Locked

push technology

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a simple problem:
How do I send a URL/URI to a pc client, initiated by the webserver?
Currently we refresh data on a client browser by letting javascript 'pull' request URL's at regular intervals, I want to achieve a similar result, but then 'pushed' by the webserver.

1 reply

by sbkwi

The normal behaviour of a web server is serving requests, so any browser will accept data only if requested by itselt.
To be able to receive data on the client side that are not explicitely requested, the usual method is using java applets. A java applet can establish either a permanent connection to the web server or create a server socket and listen to requests from the server. There is a nice tutorial on this matter at http://web2.java.sun.com/docs/books/tutorial/networking/index.html

This discussion is closed to new replies.