Java Reference
In-Depth Information
Figure 5-2. Initial files and directories created by the new project wizard
We'll be going through each of these files in detail during the development cycle, but
it's important to touch on a few of the generated files that we will skim over during
this process. Table 5-1 provides a summary of each file.
GWT Module Definition
In the TimeEntry.xml file, you specify your application's entry-point class, . In order to compile, a GWT module must specify an entry point. If a
GWT module has no entry point, then it can be inherited only by other modules. You can
include other modules that have entry points specified in their module XML files. If your
module has multiple entry points, then each one is executed in the specified sequence.
The Host Page
For your project the code for the web application executes within the TimeEntry.html
page, a.k.a the “host” page. The host page references the JavaScript source code that
renders the dynamic elements of your HTML page. You can either let Eclipse
dynamically generate the entire contents of the body element for you, or you can
render the application in your existing web page as part of a larger application. In the
latter case, you simply need to create an HTML <div> element to use as placeholder
for the dynamically generated portions of the page.
Search WWH ::

Custom Search