Home > Store > Programming > Java
Google™ Web Toolkit Solutions (Digital Short Cut): Cool & Useful Stuff
- By David Geary
- Published Jan 18, 2007 by Prentice Hall.
- Copyright 2007
- Dimensions: 10-1/2x7-3/4
- Pages: 112
- Edition: 1st
- Short Cut
- ISBN-10: 0-13-158465-0
- ISBN-13: 978-0-13-158465-5
Register your product to gain access to bonus material or receive a coupon.
The Google Web Toolkit (GWT) is a cutting-edge UI framework for Java developers, which lets you create rich, interactive user interfaces using familiar idioms from Java’s Abstract Window Toolkit (AWT), Swing, and the Eclipse Foundation’s SWT. If you’ve used any of those frameworks in the past, you’re already halfway up the GWT learning curve.
This short cut assumes that you have already installed GWT and have experimented with its basic features. It also assumes that you’re comfortable with techniques like implementing event listeners as anonymous inner classes and know how to construct applications using panels and widgets. Some of the more advanced aspects of the GWT are explored in this short cut using two applications: an address book and a Yahoo! trip viewer.
Both applications use remote procedure calls to access information on the server or an online web service. The Yahoo! Trips application also shows how you can incorporate Scriptaculous, a powerful JavaScript toolkit, to apply a useful effect for displaying results. Other cool and useful techniques, including how to implement drag and drop and how to integrate with a database using Hibernate are demonstrated. Since you’ll eventually want to move your GWT application to a servlet container such as Tomcat or Resin, the process of deploying a GWT application to Tomcat with Ant is also covered. Lastly, this short cut shows how to use popup panels and deferred commands to provide a much more interactive user interface.
A JAR file containing the source code for both applications can be downloaded by going to www.prenhallprofessional.com/title/0131584650.
Source Code
Download the Source Code from this Short Cut
Excerpts
Table of Contents
What This Short Cut Covers 3
Introduction 4
The Example Applications 4
1. Use Remote Procedure Calls to Access Online Web Services 6
2. Incorporate JavaScript and JavaScript Toolkits 20
3. Implement Drag and Drop 28
4. Integrate with Hibernate for Database Access 63
5. Use Ant to Deploy Your Application in Tomcat 75
6. Use Popups and Deferred Commands 91
Conclusion 111
About the Author 112

Short Cut $14.99
This PDF is DRM-free and requires the free Adobe® Reader® software. The PDF will be accessible from your Account page after purchase. Read our Non-DRM PDF FAQ.
- Save more by becoming a member.
- Corporate, Academic, and Employee Purchases
Online access to books, videos, and tutorials from Addison Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media and others - starting as low as $22.99. Learn more and start a free trial.


Account Sign In
View your cart