aspose file tools*
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
Author

GWT Hot Swapping

Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3697
    
    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: 9990
    
    7

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
 
Similar Threads
Eclipse Ganymede + GWT plugins extremly slow HELP
use third party jars in GWT App
Trying to use non-GWT jar in GWT project
Loading multiple different GWT Applications at runtime from other GWT Web App
GWT for complex apps or does it work well on small apps also