Noor
Noor

Reputation: 20178

GWT force Update on Server during development mode

I am getting a really annoying problem. In my application, whenever i need to change client code, the refresh make the new fix works

However, when editing server code, i need to stop the current application and run again. When the application is big, this takes a little time.

Is there a way to force update the current running server code???

Upvotes: 2

Views: 1210

Answers (4)

Chris Lercher
Chris Lercher

Reputation: 37798

i need to stop the current application and run again

[...] Is there a way to force update the current running server code???

Absolutely! It's not necessary to stop the server when you need to refresh the server side code: In the "Development Mode" view (in Eclipse), click the icon with the two yellow arrows. This application reload is much quicker than a server restart.

Upvotes: 2

DonX
DonX

Reputation: 16379

Run your server side code in some other server like tomcat. And start the gwt application in noserver mode. But if you change any rpc related classes in client side you have redeploy the code in tomcat server.

Upvotes: 0

Abdullah Jibaly
Abdullah Jibaly

Reputation: 54830

If you are using Eclipse run your back-end application in debug mode instead of run mode and that usually gets you a little closer due to its incremental compiler.

Upvotes: 1

Related Questions