Google Web Toolkit
) is an open source
Java software development framework
that allows web developers
to create Ajax
applications in Java
. It is licensed under the Apache License
GWT emphasizes reusable, efficient solutions to recurring Ajax challenges, namely asynchronous remote procedure calls, history management, bookmarking, and cross-browser portability.
GWT version 1.0 RC 1 (build 1.0.20) was released on May 16, 2006. Google announced GWT at the JavaOne
Currently it is at 1.5.2 - the first official release of 1.5.
files that are optionally obfuscated and deeply optimized.
GWT applications can be run in two modes:
- Hosted mode: The application is run as Java bytecode within the Java Virtual Machine (JVM). This mode is typically used for development, supporting hot swapping of code and debugging.
A command-line utility shipped with GWT, applicationCreator, automatically generates all the files needed to start a GWT project. It can also generate Eclipse project files. Several open-source plugins are available for making GWT development easier with IDEs. E.g., GWT4NB for NetBeans, Cypal Studio for GWT for Eclipse, gwtDeveloper for JDeveloper etc.
- A set of custom interfaces and classes for creating widgets.
- Dynamic and reusable UI components: programmers can use pre-designed classes to implement otherwise time-consuming dynamic behaviors, such as drag-and-drop or sophisticated visual tree structures.
- Simple RPC mechanism
- Browser history management
- Support for full-featured Java debugging
- GWT handles all cross-browser issues for the developer.
- JUnit integration
- Easy internationalization
- Support for using Google APIs in GWT applications (initially, support for Google Gears)
- A number of libraries are available for GWT, by Google and third parties. These extend GWTs features.
As of version 1.4 (August 2007), GWT offers several widgets
- HTML primitives (Button, Radio Button, Checkbox, TextBox, PasswordTextBox, TextArea, Hyperlink, ListBox, Table etc.)
- PushButton, ToggleButton
- Panels (PopupPanel, StackPanel, HorizontalPanel, VerticalPanel, FlowPanel, VerticalSplitPanel, HorizontalSplitPanel, DockPanel, TabPanel, DisclosurePanel)
- SuggestBox (auto-complete)
Many common widgets not found in the GWT have been implemented in third-party libraries, such as Ext GWT, GWT Component Library, GWT-Ext, GWT Widget Library, GWTiger, Rocket GWT, Dojo etc.
- Dewsbury, Ryan (2007). Google Web Toolkit Applications. Prentice Hall.
- Chaganti, Prabhakar (2007). Google Web Toolkit: GWT Java Ajax Programming. Packt Publishing.
- Geary, David (2007). Google Web Toolkit Solutions: More Cool & Useful Stuff. Prentice Hall.
- Hanson, Robert; Adam Tacy (2007). GWT in Action: Easy Ajax with the Google Web Toolkit. Manning.
- Cooper, Robert; Charlie Collins (2008). GWT in Practice. Manning.