1. Introduction to GWT
1) GWT objective: to make Ajax development easier by providing similar Java development environments and hiding incompatible parts of various browsers.
2) GWT unifies the client and server code, forming a language for writing: Java.
This has many advantages:
(1) There are more developers familiar with Java than those familiar with JavaScript or flash.
(2) There are many Java development tools, such as Eclipse, netbeans, and idea.
3) GWT allows you to create a web application in a way similar to creating a swing application. It allows you to create visual components, set event drivers, and debug the web application.
4) after the client and server have the same language, the code can be easily shared.
5) GWT can also extract the browser Dom to hide the differences between browsers and extend the object-oriented UI mode. It makes code lighter and supports all browsers.
The GWT toolkit provides an XML parser, several tools for communicating with servers, international tools, configuration tools, and browser history management systems.
Ii. GWT support platform and Installation
GWT development is supported by windows, Linux, MacOSX, and other operating systems.
GWT applications can also be deployed as web services to any operating system and viewed in new browsers (such as IE6, IE7, Firefox, and opera.
GWT requires support from JDK 1.4.2 and later. In addition, you also need an IDE, such as eclipse3.2. Finally, you need to download the Google Web Toolkit SDK