Google Web Toolkit Solutions: More Cool & Useful Stuff

David Geary, Rob Gordon

  • 出版商: Prentice Hall
  • 出版日期: 2007-11-17
  • 售價: $1,690
  • 貴賓價: 9.5$1,606
  • 語言: 英文
  • 頁數: 408
  • 裝訂: Paperback
  • ISBN: 0132344815
  • ISBN-13: 9780132344814
  • 已絕版




Google Web Toolkit (GWT) is an open source Java development framework that lets Java developers implement Ajax-enabled web applications. Instead of the hodgepodge of technologies that developers typically use for Ajax--JavaScript, HTML, CSS, and XMLHttpRequest--GWT lets developers implement rich client applications using pure Java, using familiar idioms from the AWT, Swing, and SWT. And GWT goes way beyond most Ajax frameworks by easily facilitating the implementation of desktop-like applications that run in the ubiquitous browser, where the richness of the user interface is limited only by the developer's imagination.


This book is not an introduction to GWT, that ground is covered, ad infinitum, in countless articles and blogs on the Web, and in other GWT books. Instead, this book focuses on the more advanced aspects of GWT that you will need to implement real world applications with rich user interfaces that previously required heavy lifting of JavaScript and other Ajax-related technologies. Each solution in this practical, hands-on book is more than a recipe. The sample programs are carefully explained in detail to help you quickly master advanced GWT techniques such as implementing drag and drop, integrating JavaScript libraries, using deferred commands, and advanced event handling methodologies.  Solutions in this book are in response to the most common yet complex obstacles developers run into with GWT.


Solutions covered include

·   Building custom GWT widgets, including both high-level composites and low-level components

·   Implementing a viewport class that includes iPhone-style automated scrolling

·   Integrating web services with GWT applications

·   Incorporating the JavaScript framework into GWT applications

·   Combining Hibernate and GWT to implement database-backed web applications

·   Extending the GWT PopupPanel class to implement a draggable and resizable window

·   Creating a drag and drop module, complete with drag sources and drop targets

·   Deploying your GWT applications to an external server

·   Mastering the GWT's flex table

·   Using GWT widgets in legacy applications developed with other frameworks, such as Struts and JavaServer Faces

Table of Contents

Solution 1: GWT Fundamentals and Beyond

Solution 2: JavaScript Integration

Solution 3: Custom Widget Implementation

Solution 4: Viewports and Maps

Solution 5: Access to Online Web Services

Solution 6: Drag and Drop

Solution 7: Simple Windows

Solution 8: Flex Tables

Solution 9: File Uploads

Solution 10: Hibernate Integration

Solution 11: Deployment to an External Server

Solution 12: GWT and Legacy Code