GWT in Action
Easy Ajax with the Google Web Toolkit

Second edition of this book is available

Robert Hanson and Adam Tacy

June 2007 | 632 pages | B&W
ISBN: 1-933988-23-1

Out of Print $49.99 Softbound print book + PDF eBook
$39.99 eBook edition (PDF only)


 Look Inside Resources Downloads


The Google Web Toolkit (GWT) is a new technology from Google that automatically translates Java into JavaScript, making Ajax applications easier to code and deploy. GWT in Action is a comprehensive tutorial for Java developers interested in building the next generation of rich, web-based applications. This book was written by Robert Hanson, creator of the popular GWT Widget Library, and Adam Tacy, a major contributor to the GWT Widget Library.

The Web is experiencing a new growth with an emphasis on rich, web-based applications. These applications can be difficult to build because they rely on JavaScript, which lacks the sophisticated object-oriented structures and static typing of Java, they are tricky to debug, and they require you to manage numerous browser inconsistencies.

In May of 2006 Google released the Google Web Toolkit. GWT enables developers to create Ajax applications in Java. With GWT, you can build your applications using a real object-oriented language and take advantage of Java tools like Eclipse that are already available. Instead of trying to bring tool support to Ajax, Google brought Ajax to a place where the tools already existed.

GWT in Action shows you how to take advantage of these exciting new tools. This clearly-written book is packed with hands-on GWT examples. You'll absorb the GWT philosophy as you build your first working GWT application.

The book begins by exploring the main features of GWT, including

You'll also see how GWT compares to other toolkits.

GWT in Action shows you how to set up your development environment, use and create widgets, communicate with the server, and much more. Readers will follow an example running throughout the book and quickly master the basics of GWT: widgets, panels, and event handling. The book covers the full development cycle, from setting up your development environment, to building the application, then deploying it to the web server. The entire core GWT library is discussed, with details and examples on how it can be extended.

You'll cover:

GWT helps you make the most of Ajax in your web applications and GWT in Action helps you get more out of GWT.



JavaLobby gives GWT in Action 5 Stars
"The thoroughness with which they designed examples to illustrate every concept dealt with in the book and the scope of the topics addressed in it makes GWT in Action a valuable addition to any Web developer library."

"...GWT in Action is packed with practical information on a wide range of GWT topics."
—Michael J. Ross, Web developer,


Robert Hanson is a US-based senior Internet engineer and creator of the popular open source GWT Widget Library found at Robert also maintains a blog at where he talks about GWT and other topics relating to the industry.

Adam Tacy is a consultant working for WM- Data in the Nordics and a contributor to the GWT Widget Library project.