Wednesday, September 21, 2016

Re: Update conversation by displaying new messages when they are sent

I will repeat myself : I would look into Athmosphere.
This is a wrapper around websockets so you don't have to do the bear bones stuff yourself. And they talk about GWT on their Github page : https://github.com/Atmosphere/atmosphere-extensions/wiki/Atmosphere-GWT

I used SignalR which is also a wrapper around Websockets, and falls automatic back to other stuff if it fails. No GWT support though so I wrote my own wrapper in about a day. Another problem for you probably is that SignalR needs an IIS server.


Whatever you do : don't use timers !

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment