How to deal with large multi-module applications on GWT

233 views Asked by At

We are reaching out for suggestions for a new architectural approach for our software.

Currently we are working on the development of a new front-end for our ERP, and our framework of choice on the time we started was GWT+GWTP for the front-end.

Our first Idea was to have a single page application running a composed GWT application where functionalities were modules aligned beyond a main module.

Now we are reaching a critical phase of the process where we are actually creating the system functionalities. But we are facing serious problem with this approach. At this point we have 41 GWT modules being compiled as dependencies of our main module with more that 3GB of ram and taking 8-12 minutes. We are expecting to have more that 400 modules at the end of the current development phase, and it will become unsustainable in terms of computer power to compile the application.

We already took a look on some articles like Ben Northrop's one at http://www.summa-tech.com/blog/2011/02/22/structuring-gwt-modules-for-large-applications. But we wanted other opinions on this matter.

1

There are 1 answers

0
kkishere On

We are also using GWT and we have more than 40 sub modules and one main module. We are supporting two browsers currently.

  • To speed up the development, we compile only for one browser which we use for debugging the application. This saves us from compiling for other browsers during development.
  • We also provide support for internationalization but during development we compile only for English language. This saves us some more compile iterations. If there are issues with language or browser then only we compile for that language or browser.
  • One more thing is we compile and load only the required modules based on the module dependency.