Saturday, March 07, 2009

GWT learning Part 1

reference Google Web Toolkit tutorial: http://code.google.com/intl/zh-TW/webtoolkit/tutorials/1.5/gettingstarted.html

Leaning Google Web Toolkit
Download the Google Web Toolkit from Google Web Toolkit according your operating system.
In the tutorial, Google seems suggest us to use Eclipse IDE as a development tool. This tutorial will follow the Google tutorial and add video to explain the how to create the eclipse project and the file structure.
Let start now, are you ready? Go.
Create the Application folder with sample class.
Cmd: ./applicationCreator –eclipse StockWatcher –out StockWatcher test.client.StockWatcher
-eclipse
-out
remark: use client as a last package for full path Classname.

Cmd: ./publicCreator –eclipse StockWatcher –out StockWatcher
This command is like the applicationCreator. It for create the project and classpath files of eclipse configuration.

After complete execute the cmd, you could execute the StockWatcher-shell the open the GWT browser and software to preview the generate website.

No comments: