server-push

Comet and jQuery

I've done some research into server push with javascript and have found the general consensus to be that what I'm looking for lies in the "Comet" design pattern. Are there any good implementations of this pattern built on top of jQuery? If not, are there any good implementations of this pattern at all? And regardless of the answer to tho...

Strategies for pushing updates to an ASP.NET webfarm?

How do most people handle updating ASP.NET applications running in a webfarm? I am having the problem that because the app is in use and the request affitnity is not sticky, when we push the update users run into errors as the process requests the request might be handled by the wrong version of the application. How do you do this? Take...

Client side Callback in GWT

I'm trying to create a logger for a GWT application as an exercise to evaluate GWT. What I specifically want to do is have it so that I can post messages to a client side label at any point from the server side. So, if some interesting stuff has happened on the server the client can be updated. My First question is, is this possible, I ...

Client notification, should I use an AJAX Push or Poll?

I am working on a simple notification service that will be used to deliver messages to the users surfing a website. The notifications do not have to be sent in real time but it might be a better user experience if they happened more frequently than say every 5 minutes. The data being sent to and from the client is not very large and it i...

Comet applications without using IFrames

I am just getting started creating an AJAX application using server side push. I am using Grizzly Comet on Glassfish V2. Almost all the sample applications use IFrames for updating content on the client side. I want to stick to using JavaScript only. Are there any such sample applications (preferably ones that do not use a JavaScript lib...

asp.net http server push to client

What's the best way to push info from a server to a web client? I know it's possible to setup sockets with Silverlight and Flash but I want to stay way from those two technologies. Gmail seems to do a great job of polling the servers for updated emails and even their chat programs work great (all working in my web browser). Any ideas on...

ASP.NET Push Redirect on Session Timeout

I'm looking for a tutorial, blog entry, or some help on the technique behind websites that automatically push users (ie without a postback) when the session expires. Any help is appreciated ...

Compatibility of Comet with current technology

I hear that I can use Comet as a server push technology along with my Ajax code to increase the performance of my web applications. How mature this Comet technology? Is it supported by all web servers, programming languages and browsers? What are the disadvantages of using Comet? ...

Server Push With rails options

I am trying to build a rails application which requires a "server push" functionality ie Comet . I started looking for options I have found three and tried one of them: Juggernaut : I tried it, am not entirely satisfied/comfortable though, has some browser issues with Opera and probably with Flash 10 ( I have tried it for about an hou...

Socket programming inside a servlet acting as server, is it a good solution to start a sort of server pushing environment?

Socket programming inside a servlet acting as server, is it a good solution to start a sort of server pushing environment? ...

Keeping a jQuery .getJSON() connection open and waiting while in body of a page?

I'm writing a basic push messaging system. A small change has caused it to stop workingly properly. Let me explain. In my original version, I was able to put the code in the of a document something like this: <head> ...text/javascript"> $(document).ready(function(){ $(document).ajaxStop(check4Updates); check4Updates(); ...

Online tutorials for implementing comets (server push)

I want to be able to push prices to a web interface as they become available (rather than having to be requested each time). I have spent hours looking for tutorials on Google. However I cannot seem to find anything that holds the hand, they all tend to be descriptions of how Comets work. Can you recommend a tutorial, or set of tutoria...

The client (desktop app) pulls data...but I want the server (web app) to push data

I have a client-server application - wherein the server is essentially an ASP .NET web application and the distributed clients are desktop applications. The clients need to receive some data from the server - when there is new data for the client. Right now, the way this is done is - the client keeps querying a web service every x minut...

How to implement server push for more values at a time?

What is the best way to implement server push for more than one thing. Lets say I want to just update user status, so I can periodicaly poll the server for status in like 1000ms and update the page. The other way I can found is that server waits for like 30 sec, while it checks if there was any change and if one is found, server push...

Which way is best, to implement Comets in a Java Servlet

I want to write an aplication that uses the Comets pattern - that is a request that can be responded to when an event occurs on the server, rather than only as a response to an immediate request. What is the easiest application server to use for this purpose, is it: 1) Tomcat with its NIO package 2) Jetty with its continutations 3) or...

"pushing" code to javascript from php

Hi, I currently have a piece of jquery/js code that runs every few seconds (5) a GET request, looking for new data that might of come in. Is there some way I could get PHP to "push" or signal to the javascript code when new posts are available, rather then checking every few seconds if anything new came in? Another example: I'm resizin...

How to call this Comets application from a web page

I have implemented the two classes shown at http://tomcat.apache.org/tomcat-6.0-doc/aio.html which gives a messenger application using Tomcat's comet implementation. How do I connect this to a web interface and get something to display. I am thinking these are the basic steps (I don't know the details). I should create some tradition...

API Model for Server Push Technologies (COMET)

Hello, I'm whiling to add a support of Server Side events to CppCMS. I understand the technical part of what to do on the level of communication: Client sends long polling XmlHTTPRequest, and waits for respond, server accepts the connection and does not respond until server side event occurs and sends the response to the client. The cli...

Reverse AJAX? Can data changes be 'PUSHED' to script?

I have noticed that some of my ajax-heavy sites (ones I visit, not ones I have built), have certain auto-refresh features. For example, in GMail, if I get a new message, I see the new message without a page reload. It's the same with the Facebook browser-based IM client. From what I can tell, there aren't any java applets handling the se...

Server push (Comet) in Google App Engine in Python

How can I implement Comet / Server push in Google App Engine in Python? ...