From the course: Learning GWT

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

The module configuration file

The module configuration file

From the course: Learning GWT

Start my 1-month free trial

The module configuration file

- [Narrator] At this point, we have discussed how the compiled Java script is loaded into the host page, and where the user will first encounter the GWT application. But how is that Java script created in the first place? This is where we roll up our sleeves and get our developer hands dirty. Let's return to the root package where the module configuration file is located and open it. This file is found on the Java class path and is the first file read at compilation. It contains configurations for the GWT application itself like determining what other modules to inherit, with these inherit tags, what packages to translate with these source tags, as well as the all-important module entry point, where your application begins executing. This application will begin with the class My_First_App, located in the client package. There are other advanced configuration settings but those are better suited for a more advanced lesson covering topics like GWT linkers. Like the host page, the Samba…

Contents