Monday, March 19, 2007

Building a Sample Application

All the sample applications are in the samples/ directory in your GWT package. Each sample has a script you can run to start it in hosted mode and a script you can use to compile it into JavaScript and HTML to run it web mode.

Thursday, March 8, 2007

The Nature of Asynchronous Method Calls

The nature of asynchronous method calls requires the caller to pass in a callback object that can be notified when an asynchronous call completes, since by definition the caller cannot be blocked until the call completes. For the same reason, asynchronous methods do not have return types they must always return void. After an asynchronous call is made, all communication back to the caller is via the passed-in callback object.