Is there a general way to implement part of an application with JavaScript and supplying a persistent connection to a server? I need the server to be able to push data to the cl
You should look into Comet:
http://ajaxian.com/archives/comet-a-new-approach-to-ajax-applications