Since i read the FAQ and features of GWT and i dindt see info about
this, can someone please tell me how the modules works?


I mean if  i dev a Module Login whit a few clasess (Fast download just
a few kb's)
then i dev a Module A w/ arround 40 clasess (huge kb's)
then i dev a Module B w/ arround 40 clasess too

then i put a inherent to A and B  on my Login Module xml file
the final ...XXX.cache.hmtl of my Login Module will load all
the code from the A and B Modules?
or it will load if i use them? when i say use, i mean create objects
from that Modules
ModuleAObject obj = new ....
or just for import a class from a Module A or B  my app will load all
the js generated

Can i work here whit code spliting ? i mean:

 GWT.runAsync(new RunAsyncCallback() {
          public void onFailure(Throwable caught) {
            Window.alert("Code download failed");
          }

          public void onSuccess() {

            /* the code will be loaded async */
            ModuleAObject obj = new ModuleAObject ();

          }
        });



Thank you. =)

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to