A *Module* is a collection of client side java code. A Module is defined by a .gwt.xml, and it can inherit other modules. The GWT compiler takes a module as its input, and compiles it into javascript code.
A Module has exactly one *entry point class*. (It is possible to define a module without an Entry Point.. but lets skip it for the moment). The onModuleLoad() method of your entry point class is like the main() method in a standard java program. Once compiled, the module + entrypoint classs becomes a single .nocache.js file. The .nocache.js file contains the bootstrap code. It loads other js / html files as needed. Note that at this point the java code is useless - everything has been converted into equivalent javascript. The *HTML* file is the host for the .nocache.js file. The browser first downloads the html, and then downloads the .nocache.js. Once the .nocache.js loads, the javascript eqivalent of your onModuleLoad gets called. From there on, whatever code you write gets executed. --Sri 2009/11/29 ToXiC <[email protected]> > hi to all ... am new to GWT could i know what each of the above do > (Module,HTML,Entrypoint class), > > i want to use a new HTML inside an iframe inside the same > project...could somebody help me with it with some code..and > ofcourse the new HTML should also be able to use the GWT code > > -- > > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
