开发者

Large scale application with GWT

开发者 https://www.devze.com 2023-02-16 09:13 出处:网络
I\'m using GWT (2.0.x) to develop a large scale and modularized application, but some modules have a lot of classes.

I'm using GWT (2.0.x) to develop a large scale and modularized application, but some modules have a lot of classes.

I'm facing a problem with GWT in development, beca开发者_高级运维use the DevMode it's taking a long time (processing) when I change every client-side class and refreshing at the browser.

My last option is to split more that modules, but I'm thinking to edit the GWT-DEV source code and "tell him" to do hotdeploy only on selected classes.

I have another option rather than edit GWT-DEV source code ?


Try using GWT.runAsync() to lazy load your code. If you can load only those modules that you need. You can make fairly complex web apps using GWT which run very fast. Hope you are following the MVP architecture recommended by google. Any extra information regarding the number of your classes etc will be helpful if figuring out if you need to reconsider your architecture or not.

0

精彩评论

暂无评论...
验证码 换一张
取 消