http://code.google.com/p/gwt-comet/
/dmc
--
David Chandler
Developer Programs Engineer, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools
On Fri, May 27, 2011 at 1:57 PM, hamish tushar chandola <hamish.tushar@gmail.com> wrote:
Hi Patrick,thanks for the help.I am now trying to use websocket and there is only one example i cn find online.websocket connects to some port.But where is the code to receive the connection.I do not think this is complete code.Do you not think we would always get onClose() call back.Is there a complete example where I can look at client server communication using socket in GWT.thanksHamish--On Fri, May 27, 2011 at 9:40 AM, Patrick Julien <pjulien@gmail.com> wrote:
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
<hamish.tushar@gmail.com> 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 <pjulien@gmail.com> 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 google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscribe@googlegroups.com.
>> 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 google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscribe@googlegroups.com.
> 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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
--
David Chandler
Developer Programs Engineer, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment