users@grizzly.java.net

Re: trying comet on glassfish v2 beta2

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 11 Jun 2007 10:25:13 -0400

Hi Enrique,

beta2 was broken (unless you remove the <property
name="proxiedProtocols" ../> line. B51 will contains the fix thanks to
your post on my blog :-) You can download an Ajax.request example here
[1]. This is an example that will be part of my next blog on "New
Adventure in Comet" series :-). The example has been written by Takai
Naoto and it is a great example to start with.

As for the src, you can find GlassFish v2 Comet implementation in [2].
The latest version is 1.0.15.

Thanks

-- Jeanfrancois

[1] http://weblogs.java.net/blog/jfarcand/archive/demo.war
[2]
https://maven-repository.dev.java.net/nonav/repository/grizzly/jars/grizzly-1.0.15-sources.jar

Enrique Rodríguez Lasterra wrote:
> I try to reply myself to the first one;
>
>
> I'm writing an example that use prototype (Ajax.request) to call a
> comet servlet. When i make the first call to attach the user/request
> to comet the servlet block the response. Is this the normal behaviour?
>
>
> YES, comet block the response becouse it will use the connection to
> notify events of the context.
> --
> _______________________________
> Enrique Rodriguez Lasterra
> lasterra AT javahispano DOT org
> http://www.javahispano.org
> Asociación sin ánimo de lucro sobre java
> Spanish non profit association about java