GWT Client

This page was last edited by FrankM on Tue, 26/02/2013 - 11:01

Summary - GWT Client

Pieter De Graef

Plug-in Type:Client
Status:Graduated  Code Style rating Provenance review rating Documentation rating Test coverage rating
Support Type:Official Geomajas plug-in

Community & Documentation

Plug-in description

The GWT Client allows you to use Java code for development of your AJAX based GIS web applications. It uses Google Web Toolkit (GWT) and the SmartGWT widget library to create powerful and cool widgets.

GWT is used amongst others for the development of Google AdWords and Google Wave. It compiles your Java code to JavaScript to allow the code to run on the client side, in the browser. While doing so, it takes care of many browser idiosyncrasies to alleviate the need to consider browser compatibility issues. GWT tries to make the user experience as comfortable as possible, to a large extent by focusing on responsiveness of the user interface. It combines all code and aggressively compresses it to reduce loading delays and to allow caching. When the script file gets large, you still have the option to split it to reduce load time (the other parts are then loaded asynchronously. It also contains support for building internationalized applications, for combining resources, etc.

For the developer, there is the ability to run your applications in development mode. Though this is slower than production mode, it removes the need for a full compilation before application startup (a big improvement as GWT produces different code per browser and language pair), and what's more, it allows debugging your application in Java!

Using this plug-in in Maven

In order to use this plug-in in your Maven-project, add the following dependency to the pom.xml: