users@grizzly.java.net

Re: AW: (Grizzly Comet Demo attached): Grizzly and GWT Info

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Thu, 26 Feb 2009 12:50:09 -0500

Salut,

Jens Heyer wrote:
> Hello Jeanfrancois,
>
> I tried the example you uploaded on yesterday and sadly it did not work as
> expected from my point of view. After deploying the ".war" file to the local
> GlassFish 2.1 instance I opened a Firefox with the URL
> "http://localhost:8080/gwt-comet/App.html". This works fine (if I enter a
> value it gets updated) although the website is constantly loading.

Yes, that's because the Comet technique used is http streaming:

http://weblogs.java.net/blog/jfarcand/archive/2007/05/new_adventures.html

  When
> opening another Firefox only this one gets new prices but the first never
> changes its values somehow? The IE behaves like the Firefox but completely
> crashes after a minute.

Hum...I've never tested on IE, but just curious, are you opening two
firefox (two different profiles)? This is how I usually demo that war.

Thanks!

-- Jeanfrancois


>
> Best regards
>
> Jens
>
> -----Ursprüngliche Nachricht-----
> Von: Jeanfrancois Arcand [mailto:Jeanfrancois.Arcand_at_Sun.COM]
> Gesendet: Mittwoch, 25. Februar 2009 19:15
> An: users_at_grizzly.dev.java.net
> Betreff: Re: (Grizzly Comet Demo attached): Grizzly and GWT Info
>
> Great:
>
> http://is.gd/kQrA
>
> -- Jeanfrancois
>
> Survivant 00 wrote:
>> use www.mediafire.com <http://www.mediafire.com>
>>
>>
>>
>> 2009/2/25 Jeanfrancois Arcand <Jeanfrancois.Arcand_at_sun.com
>> <mailto:Jeanfrancois.Arcand_at_sun.com>>
>>
>> Salut,
>>
>> attached is a demo I gave. I cannot commit the code inside the
>> Grizzly workspace unfortunately as we aren't allowed (internally @
>> Sun). The demo works with GlassFish 2.1 (an auction application).
>> I'm attaching the sec and a recent talk I did using it (attached).
>> There is also a nice tutorial here:
>>
>> http://www.javascriptr.com/2008/05/28/gwt-grizzly-comet/
>>
>> Now I've also a war file but it is too big to upload on
>> java.net...so I'm looking for a place to upload (stay tuned)
>>
>> Thanks!
>>
>> -- Jeanfrancois
>>
>>
>> and1 wrote:
>>
>> Hi JeanFrançois, I'm a new user and I want to learn Comet
>> Grizzly, because is very powerfull.
>>
>> Do you suggest me a simple example of Grizzly and GWT ?
>> Because I want to use Comet Grizzly in a Gwt Application....
>>
>> I have taken a look in your blog, and there are many examples,
>> but I don't Known how to use it...
>>
>>
>> Thanks and sorry if I have disturbed you......
>>
>> Andrew
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>> <mailto:users-unsubscribe_at_grizzly.dev.java.net>
>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>> <mailto:users-help_at_grizzly.dev.java.net>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>