I did the following: My DTO's have a field that contains the version of the client-side app. Server-side I also have the client-side version number. If on serverside arrives a DTO having other version than the one in the config file, than I send to the client an error code that the client-side error handling logic will reload the page. Seems pretty standard.
On 12/13/2009 05:04 PM, Ignat Alexeyenko wrote: > Sirs and Madams, > The Great GWT Masters! > > I want to ask - if there is any way to reload GWT application in > browser if new version was deployed? > > Please, consider the following scenario: > 1. User Logins in GWT application. > 2. During user work new version of the application was deployed on > server. User doesn't close his browser. > 3. When user tries to do something in GWT application he will see the > StatusCodeException - because browser is running old version and > ServerSide generates responces based on new code base. > > Is there is STANDARD way or common pattern to define at step 3 that > the GWT app in client-side is out-of-date and should be reloaded. > > -- > Kind regards, > Ignat Alexeyenko. > > -- > > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
