users@grizzly.java.net

Re: GWT + Comet question (was Re: [Jean-Francois Arcand's Blog] New Comment Posted to 'Building GWT Comet based web app using Grizzly Comet'

From: jewel_kader <tojewel_at_gmail.com>
Date: Mon, 23 Mar 2009 23:08:06 -0700 (PDT)

Hi,

In IE, flushing a comment causes a
com.google.gwt.user.client.rpc.InvocationException at the client side.
However writing something that GWT understand works. For example, instead of
writing a comment before calling addCometHandler, I flushed
"//OK[2,1,[\"com.game.chess.client.Message/483634159\",\"123\"],0,5]", which
is a encoded response string in gwt way.

This process suspends the response successfully but on comet event, when I
tried to send my own data, only the previously written (flushed before
addCometHandler) data came to the client.

Thanks,

--Jewel


Jeanfrancois Arcand-2 wrote:
>
> Salut,
>
> dun4n wrote:
>> Hi,
>>
>> it's just an idea but you could try to flush some kb of comments before.
>> Some browsers like Safari requires some kb of data at the beginning of
>> the stream to start the rendering.
>> And be sure you are not running some kind of service like Avast
>> WebShield which is buffering a http stream before rendering it.
>
> Yes the comet-jmaki demo seemed to work when flushing some bytes before
> suspending the connection. I don't have a win32 machine available this
> week but I do think this is related.
>
> A+
>
> - Jeanfrancois
>
>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
>
>

-- 
View this message in context: http://www.nabble.com/GWT-%2B-Comet-question-%28was-Re%3A--Jean-Francois-Arcand%27s-Blog--New-Comment-Posted-to-%27Building-GWT-Comet-based-web-app-using-Grizzly-Comet%27-tp21416392p22674725.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.