This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "GWT Hot Swapping" Watch "GWT Hot Swapping" New topic
Author

GWT Hot Swapping

Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3704
    
    5

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?


My Blog: Down Home Country Coding with Scott Selikoff
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10268
    
    8

Wouldn't the user get something like
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: 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: http://aspose.com/file-tools
 
subject: GWT Hot Swapping