- Google Web Toolkit 2 Application Development Cookbook
- Shamsuddin Ahammad
- 291字
- 2025-02-21 00:27:03
The Google Web Toolkit (GWT) is an open source Java-based development toolkit for creating browser-based applications with a JavaScript frontend. GWT has made some tasks easier for the developers, as they do not need to have expertise in browser quirks, JavaScript, and scriptlets. Just by writing Java code, web-based GUIs like Swing can be developed using the GWT UI class library. The GWT SDK enables the developer to write the AJAX frontend in Java programming language, which is then converted to optimized JavaScript files that works in all the major browsers.
The following are some important features of GWT:
- The GWT can handle all of the client-server communications, whether it is JSON, XML, or GWT's Remote Procedure Call (RPC). Java objects can be passed between the client and the server
- A GWT application can communicate back and forth without having Java on the server because it works with standard communication protocols
- Pure object-oriented techniques can be used
- Allows HTML and JavaScript code, if required
- The GWT uses CSS for formatting
- IDE support is available from Eclipse, NetBeans, and IntelliJ IDEA
- It is free and open source
The GWT is used by many Google products, and thousands of other products around the world. Some real-world projects are Google Wave, Google Moderator, Google AdWords, Orkut, Gmail, Go Grid, Lombardi Blueprint, Scenechronize, Whirled, and so on.
GWT SDK contains the core libraries and a compiler that we need in order to develop GWT applications.
Go to http://code.google.com/webtoolkit/download.html and download the SDK. The SDK will be downloaded as a ZIP
file named gwt-2.0.3.zip
(or something similar to that).