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