File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes GWT and the fly likes GWT Hot Swapping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "GWT Hot Swapping" Watch "GWT Hot Swapping" New topic

GWT Hot Swapping

Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3753

Does anyone have experience with hot swapping new GWT modules for existing ones? In some sense, it is just a matter of replacing the WAR, and hot swapping of servlet providers is well understood, but does the same hold true for GWT applications?

In particular, since compiled GWT applications rely on hash-based MD5 JavaScript files, its not clear what happens if a server changes GWT modules while a user is connected. Does the user have to start over?

[OCA 8 Book] [Blog]
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10826

Wouldn't the user get something like This application is out of date, please click the refresh button on your browser. ( Expecting version 5 from client, got 6. )

I remember getting this once. Most probably it was after changing the GWT version in eclipse. I shut down jetty, did a clean build and got it working.

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
I agree. Here's the link:
subject: GWT Hot Swapping
jQuery in Action, 3rd edition