简体   繁体   中英

GWT Refresh Compile Cycle

According to what I have read concerning gwt, whenever we change the java code and reload the browser, the change is reflected. This is true for client side but not true for localhost serverside.

Does somebody know how to refresh the server side as well on browser refresh for gwt or is it not possible??

If you're executing your GWT webapp from Eclipse. You only need to go to the "Development Mode" tab and use the "Reload Web Server" option.

You can use hot deploy with Eclipse, Netbeans, IDEA etc. But for this usage you must use debug mode. In addition, IDE loses its state because of many changes so debug mode must be restarted.

I think there is no way to refresh changes and I think keyword is hot deploy

如果您在Eclipse中以“开发”模式运行GWT,并且带有Spring后端,那么Eclipse通常足够聪明,可以热部署服务器端类更改,但不是全部。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM