IntelliJ IDEA 2017.1 Help

GWT Sample Application Overview

This feature is supported in the Ultimate edition only.

IntelliJ IDEA can generate a sample GWT application when you are creating a module with GWT support. This application helps you familiarize yourself with the GWT application structure. For a detailed description of the GWT fundamentals, please refer to

IntelliJ IDEA creates a simple HelloWorld application that meets all the GWT requirements.


As you can see, IntelliJ IDEA has generated a GWT Module (MySampleApplication.gwt.xml) in the root of the package. The corresponding package layout (client and server parts) is also generated automatically.

  • client: contains the required entry point (MySampleApplication class) and remote service interfaces.
  • server: contains the server implementation of the remote service.

    When creating a remote GWT service, IntelliJ IDEA automatically generates both synchronous and asynchronous interfaces (in the client part), creates the server implementation, and registers them in the GWT Module .xml, as required.

The HTML host file, that is used to run the application, is located in a separate Web facet.

IntelliJ IDEA also adds comments to the sample application code to make it clear to the maximum.

See Also


Last modified: 18 July 2017