To minimize complexity and compilation times, GWT's libraries are broken up into
modules that contain various functionality. For example, there is a module
for JSON support, and a separate module for the HTTP RequestBuilder
functionality. If you want to use a given piece of functionality, you must
include the appropriate module via an <inherits> tag in your project's XML
file.
Since it can be difficult to remember which module includes which functionality, the table below summarizes the available modules.
Since it can be difficult to remember which module includes which functionality, the table below summarizes the available modules.
Module Name |
Contents |
com.google.gwt.user.User |
Core GWT functionality; required for every project |
com.google.gwt.http.HTTP |
Low-level HTTP communications library |
com.google.gwt.i18n.I18N |
Internationalization support |
com.google.gwt.json.JSON | JSON creation and parsing |
com.google.gwt.junit.JUnit |
JUnit
testing framework integration |
com.google.gwt.xml.XML |
XML document creation and parsing |