How divide a GWT module into some separate javascript files ?

Posted by Ehsan Khodarahmi on Stack Overflow See other posts from Stack Overflow or by Ehsan Khodarahmi
Published on 2010-04-09T16:20:25Z Indexed on 2010/04/09 16:23 UTC
Read the original article Hit count: 377

Filed under:
|
|

Hi, I've a big GWT module which comprised of many java classes (& of course it's impossible to break it down into several modules).
My GWT application consists of some forms, but the users usually work only with a few of them, anyway they should be abale to open any form as they need.
Now my problem its that gwt generates a big js file that will load each time, but most of its content may never use!
Is there any way to break the big js module file into several smaller files(for example, one file for each class) & gwt load them automatically as needed ?

© Stack Overflow or respective owner

Related posts about gwt

Related posts about module