tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: Any interest in "Asynchronous Servlets"
Date Sat, 28 Apr 2007 03:12:31 GMT
Remy Maucherat wrote:
> Filip Hanik - Dev Lists wrote:
>> This is not quite the same as Comet. Main difference is that the 
>> "Asynchronous Servlets" (AS) are not registered with the Poller.
>> It just means that when a HTTP request comes in, the Request/Response 
>> pair can be handed off to a background thread.
>>
>> Useful for AJAX scenarios.
>>
>> Should we implement non-blocking read/write for Comet, we could reuse 
>> that exact same implementation for the AS, and the web app could 
>> implement it's own polling.
>>
>> We would of course have the need for the ability to end the request 
>> asynchronously, so that the request/response objects and everything 
>> that goes with it can be recycled.
>
> I don't know what you are talking about, so I can't really comment. I 
> have no interest in doing stuff that would be too complex, since in 
> the end async stuff over HTTP is just a lame hack.
actually, it would be a lot easier than Comet :), I'll create a patch, 
then we can review it before we decide to move on.
Filip
>
> Rémy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message