Here is an overview of the bootstrap procedure for a GWT application:
The browser loads and processes the HTML Host Page.
When the browser encounters the <script src="”ModuleName".nocache.js”> tag in the Host Page, the JavaScript code in the file is downloaded and executed.
The .nocache.js file contains JavaScript code that resolves the Deferred Binding configurations (such as browser detection, Internationalization, etc). The browser uses a lookup table, generated by the GWT Compiler, to locate which one of the .cache.html files to use.
The JavaScript code in .nocache.js then creates a hidden <iframe>, inserts it to the Host Page’s DOM, and loads the .cache.html file into that iframe.
Once the .cache.html file is loaded, the actual program logic of the GWT application is executed.
Subscribe to:
Post Comments (Atom)
1 comment:
good explination
Post a Comment