How to keep statefull web clients in sync, when multiple clients are looking at the same data?
Posted
by Hilbrand
on Stack Overflow
See other posts from Stack Overflow
or by Hilbrand
Published on 2010-05-19T08:44:55Z
Indexed on
2010/05/19
9:10 UTC
Read the original article
Hit count: 164
In a RIA web client, created with GWT, the state is maintained in the web client, while the server is (almost) stateless (this is the preferred technique to keep the site scalable).
However, if multiple users looking at the same data in their browser and one user changes something, which is send to the server and stored in the database, the other users still have the old data in their browser state. For example a tree is shown and one of the users adds/removes an item from the tree.
Since there can be a lot of state in the client, what is the best technique to keep the state in the clients in sync? Are there any java frameworks that take care of this?
© Stack Overflow or respective owner