After many support cases we are realizing the biggest problem we have with our GWT-based application is that users are leaving it open for weeks at a time. This means when we do a hotfix every week or two the RPC stubs are out of sync and cause silent exceptions to be thrown making the site look "broken". Does anybody know of a way to auto-detect and avoid this issue? A few ideas I have had are...

  1. On catching an RPC mismatch exception refresh the browser.
  2. When loading the host page inject the version number in source control the build came from, have a status checker/timer that check that the number did not change. When it does reload.
  3. Reload on an arbitrary timer (perhaps twice daily).

Any ideas?

Edit
Report