you can use websockets but not many browsers support it.  You can use comet

google "gwt comet"


On Fri, May 27, 2011 at 12:36 PM, hamish tushar chandola
<[email protected]> wrote:
> Hi Patrick,
> Is there a way in GWT to push data from server to client.
> Right now i am using RPC asyncallback but for that client needs to make
> request to server and then it responds.
> So its more like pull mechanism .I wud need push .
> Thanks
> Hamish
>
> On Fri, May 27, 2011 at 6:31 AM, Patrick Julien <[email protected]> wrote:
>>
>> The gwt servlet may be a singleton but it supports a multi-threading
>> environment
>>
>> >
>> > So in short there are 2 problems.
>> > 1.Can i have TCP library on client side.(If yes then no need for
>> > second problem)
>>
>> no
>>
>> > 2.If not then i need to create a new TCP client at GWT server (RPC)
>> > and  keep track of which client did that and send updates to that
>> > client.Since each client would have a different data on TCP server
>> > read.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>
>
> --
> ~Hamish
> ~~~~~Hope is a good thing, maybe the best of things, and no good thing ever
> dies.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to