Google Web Toolkit : create your first project Concept of GWT module


These sheets are taken from the book “Programming GWT 2” by Sami Jaber, published by Eyrolles. Eyrolles

It is essential to master the notion of module in GWT. On the same principle as a JAR file in the Java world, a module is a primary configuration element in GWT.

Contrary to a popular belief, a module is not necessarily an Eclipse project, nor necessarily a JAR file. A module is identified by the fully qualified name of the package in which it is found, associated with the module name.

There can be several modules per Eclipse project, but also several modules per JAR archive. As an example, the gwt-user.jar file constituting the basic GWT framework itself contains more than twenty modules.


figure 1-7- cycle de compilation.
Figure 1-7- Compilation cycle. Eyrolles


Now that the notion of module has been discussed, let’s see the structure of a GWT project as created by the WebAppCreator tool.


Leave a Comment