GWT Interview Questions and Answers
Ques. What are Modules, Entry Points and HTML Pages in GWT?Ans. GWT applications are described as modules. A module \"modulename\" is described by a configuration file \"modulename.gwt.xml\". Each module can define one or more Entry point classes.
An entry point is the starting point for a GWT application, similar to the main method in a standard Java program. A Java class which is an entry point must implement the interface \"com.google.gwt.core.client.EntryPoint\" which defines the method onModuleLoad().
The module is connected to a HTML page, which is called \"host page\". The code for a GWT web application executes within this HTML document.
The HTML page can define \"div\" containers to which the GWT application can assign UI components or the GWT UI components are simply assigned to the body tag of the HTML page.
Is it helpful? Yes No
Most helpful rated by users: