Re: Force application javascript to be reloaded in the browser
Thanks Stefan.
On May 16, 10:23 am, Stefan Bachert <stefanbach...@yahoo.de> wrote:
> HiKedaar,
>
> you are going to repair and fuel up the car while I am driving it.
>
> I would heavily disadvice such an approach. It will cause a lots of
> problem and critical situations which are in general not worth while.
>
> However, when you try to do it the following consequences apply:
>
> 1) you can NOT deploy a new version (no overwrite), you always need to
> deploy a new application to your webcontainer.
> Just to deploy a new version may kill any active communication between
> client and old version of your app.
>
> 2) your old application instance needs to send from server side a
> message to load to new one (with an new url)
> When you are not doing comet / server push or similar technique more
> than 2 variants of you apps run on your tomcat
>
> 3) Your app needs to perfectly support history in order to go to the
> same state
> However, this may become impossible because of code changes
>
> In the end your app will be less reliable while you had hoped to
> increase it.
>
> Stefan Bacherthttp://gwtworld.de
>
> On 16 Mai, 00:08, kedar <kedaar.ghane...@gmail.com> wrote:
>
>
>
>
>
> > I would like to make changes to either the client or server code and
> > deploy these changes to tomcat while the application is in production
> > with users logged on. In some cases where there are many changes, I
> > would like to force the user to reload the html page (ie gwt
> > application) and relogin.
>
> > Here is a scenario:
> > 1) user logs in
> > 2) developer deploys new version to tomcat
> > 3) user is forced to reload application on next server call
>
> > How can this be accomplished?
>
> > --
> > You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
> > For more options, visit this group athttp://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 google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
> For more options, visit this group athttp://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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home