wood burning stoves 2.0*
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: 3703

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: 10170

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!]
Don't get me started about those stupid light bulbs.
subject: GWT Hot Swapping
Similar Threads
Trying to use non-GWT jar in GWT project
Eclipse Ganymede + GWT plugins extremly slow HELP
Loading multiple different GWT Applications at runtime from other GWT Web App
use third party jars in GWT App
GWT for complex apps or does it work well on small apps also