Tuesday, December 9, 2014

efficiently push data

Hi,

I think about how to implement a browser GUI that primarily will show a list of a lot of data objects. When something is added to the list on server side or one of those objects is changed, the client side GUI should be updated. So I need a server push. I already have a websocket connection and used the AutoBean functionality for something else. In theory I could immediately implement the whole thing by either pushing the whole list each time something is changed or even do any suitable caching. But I'm relatively new to GWT and I'm sure there are a lot of things that I don't know yet. I'm curious how people with more experience would implement it.

During my research today I discovered the RequestFactory where caching seems to be included. At least I found the sentence "Furthermore, the EntityProxy interface enables RequestFactory to compute and send only changes ("deltas") to the server." Can this be used to have a List/Result entity on the server and client that is updated automatically with just a little bit of traffic in between without thinking about what was changed by myself?

Do you recommend anything else for this use case?
Thanks in advance!
Andy

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment