You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Vincent Demay <vd...@joost.com> on 2007/03/22 14:26:52 UTC

Comet in tomcat

Hi all,


I'm working on server side pushing integration in Wicket, and I saw 
Tomcat6 implements comet : http://tomcat.apache.org/tomcat-6.0-doc/aio.html

Have you got a complete example of an application using cometProcessor?
How can I use NIO connector?
Is there an implemantation of the Bayeux protocol?

Cheers

--
Vincent
http://www.demay-fr.net/blog/

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Comet in tomcat

Posted by Peter Kennard <pe...@livingwork.com>.
Curious - with Comet I assume you can now have 
multiple servlet requests share a single thread 
if they are written cooperatively? I have just 
written a "client side" that does this with 
NIO.  I am working on a system were a lot 
of  small requests and body chunks are being processed.

PK

At 10:11 3/22/2007, you wrote:
>On 3/22/07, Vincent Demay <vd...@joost.com> wrote:
>>Hi all,
>>
>>I'm working on server side pushing integration in Wicket, and I saw
>>Tomcat6 implements comet : http://tomcat.apache.org/tomcat-6.0-doc/aio.html
>>
>>Have you got a complete example of an application using cometProcessor?
>
>No real application to show off.
>
>>How can I use NIO connector?
>
>Yes (it's written on the page).
>
>>Is there an implemantation of the Bayeux protocol?
>
>No. I don't know which of these protocols will emerge at this point as
>"the" standard (any opinion on this ?). I think a base servlet could
>be included if one was contributed.
>
>Rémy
>
>---------------------------------------------------------------------
>To start a new topic, e-mail: users@tomcat.apache.org
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Comet in tomcat

Posted by Rémy Maucherat <re...@gmail.com>.
On 3/22/07, Vincent Demay <vd...@joost.com> wrote:
> Hi all,
>
> I'm working on server side pushing integration in Wicket, and I saw
> Tomcat6 implements comet : http://tomcat.apache.org/tomcat-6.0-doc/aio.html
>
> Have you got a complete example of an application using cometProcessor?

No real application to show off.

> How can I use NIO connector?

Yes (it's written on the page).

> Is there an implemantation of the Bayeux protocol?

No. I don't know which of these protocols will emerge at this point as
"the" standard (any opinion on this ?). I think a base servlet could
be included if one was contributed.

Rémy

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Comet in tomcat

Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
Vincent Demay wrote:
> Hi all,
>
>
> I'm working on server side pushing integration in Wicket, and I saw 
> Tomcat6 implements comet : 
> http://tomcat.apache.org/tomcat-6.0-doc/aio.html
>
> Have you got a complete example of an application using cometProcessor?
I'm writing an example as we speak, but won't show it off until after 
ApacheCon EU
> How can I use NIO connector?
protocol="org.apache.coyote.http11.Http11NioProtocol" (see 
http://tomcat.apache.org/tomcat-6.0-doc/config/http.html)
> Is there an implemantation of the Bayeux protocol?
As Remy mentioned, we currently don't have this. However, if you wish to 
write one and contribute it, we'll look it over and possible include it.
The Comet framework that we have, has everything you need, including to 
develop a Bayeux servlet.

Filip
>
> Cheers
>
> -- 
> Vincent
> http://www.demay-fr.net/blog/
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org