ii
Table of Contents
About the Tutorial ................................................................................................................................. i
Audience ............................................................................................................................................... i
Prerequisites ......................................................................................................................................... i
Copyright and Disclaimer ...................................................................................................................... i
Table of Contents ................................................................................................................................. ii
- GWT – OVERVIEW ............................................................................................................. 1
What is GWT? ...................................................................................................................................... 1
Why to Use GWT? ................................................................................................................................ 1
Disadvantages of GWT ......................................................................................................................... 2
The GWT Components ......................................................................................................................... 2
- GWT ENVIRONMENT ......................................................................................................... 3
System Requirement ............................................................................................................................ 3
Step 1 – Verify Java Installation on Your Machine ................................................................................ 3
Step 2 – Setup Java Development Kit (JDK) .......................................................................................... 4
Step 3 – Setup Eclipse IDE..................................................................................................................... 5
Step 4 – Install GWT SDK & Plugin for Eclipse ....................................................................................... 6
Step 5: Setup Apache Tomcat ............................................................................................................... 7
- GWT APPLICATIONS .......................................................................................................... 9
Module Descriptors .............................................................................................................................. 9
Public Resources ................................................................................................................................. 11
Client-side Code .................................................................................................................................. 12
Server-side Code ................................................................................................................................. 12
- GWT – CREATE APPLICATION .......................................................................................... 14
Step 1 – Create Project ........................................................................................................................ 14
Step 2 - Modify Module Descriptor: HelloWorld.gwt.xml .................................................................... 16