Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

GWT%20Interview%20Questions%20and%20Answers

Question: What are Modules, Entry Points and HTML Pages in GWT?
Answer: 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:

©2024 WithoutBook