Re: Server push with Tomcat 6/Comet

2008-05-30 Thread Sierk Schmittner
Hi, > I am using a Comet-based servlet and I'm facing two problems: >> - When I write the data to the response's outputstream and call the flush >> method, the data is only send to the client when there is a minimum amount >> of bytes written on the outputstream. Is it possible to change this >>

Server push with Tomcat 6/Comet

2008-05-29 Thread Sierk Schmittner
Hi, I want to implement a server push mechanismus with Tomcat 6/Comet. The use case is that a javascript client sends an AJAX request to the server. The server is performing some internal asynchronous tasks (in seperate threads). The result of these tasks should be pushed asynchronous to the clie