Reputation: 5351
I am starting to learn GWT.
I've picked up newest version (2.7.0).
I have wrote Entry point
class to display start page and to call rpc to server to execute some function.
Every change I made in client side source code in Entry point
class, cause auto recompile (hot swap), so I can see immediatly changes, that I've apply.
My problem is that it works only for client side code.
It dosen't work for server side code. To see changes in server side code, I have to stop server and console, and run it again, which is very very annoiyng.
So my question is:
Please give me your thougths about it.
By the way: I use GWT with eclipse and Google plugin.
EDIT
I wonder what about Maven GWT projects? How to deal with them?
Upvotes: 5
Views: 2017
Reputation: 5351
I found this solution: https://github.com/jbarop/gwt-hotdeployment It seems to do the job for developer.
But it is quite old.
Upvotes: 0
Reputation: 64561
There's a "reload webapp" button in DevMode. It's in the "Jetty" tab when using "bare" DevMode, and a yellow double spinning arrow in the Eclipse view when using the GPE. It'll restart the web app just as if you redeployed it in a standalone server.
Upvotes: 1
Reputation: 5628
What you describe is normal behavior.
There are several ways to reload the server side code when refreshing without restarting your server:
Upvotes: 2