GWT

Using the Maven GWT plugin allows to easily define GWT projects, test and compile them using Maven. This allows to develop GWT without having to install the heavy-weight Google Eclipse Plugin.

As a basic setup, I prefer to divide my the projects required for a GWT application into those, which have a dependency to GWT specific classes (GWT-Integration) and those which do not (GWT-Logic). Most of the time, a surprisingly large part of the logic of an application can be implemented without any reference to GWT specific classes (e.g. GWT widgets, GWT services, ...). As a side effect, the design of the application also becomes clearer using this approach.

Find the templates here:
  • GWT-Logic (for projects implementing logic without dependencies to GWT specific classes)
  • GWT-Integration (for project with dependencies to GWT specific classes)
Comments