Home > Store

larger cover

Add To My Wish List

Google Web Toolkit Solutions: More Cool & Useful Stuff

  • By David Geary, Rob Gordon
  • Published Nov 7, 2007 by Prentice Hall.
    • Copyright 2008
    • Dimensions: 7x9-1/4
    • Pages: 408
    • Edition: 1st
    • Book
    • ISBN-10: 0-13-234481-5
    • ISBN-13: 978-0-13-234481-4
    • eBook (Watermarked)
    • ISBN-10: 0-13-234534-X
    • ISBN-13: 978-0-13-234534-7

Register your product to gain access to bonus material or receive a coupon.

  • Description
  • Downloads
  • Reviews
  • Sample Content

Product Author Bios

David Geary is the author of eight books on Java technology, including the bestselling Graphic Java 2 Series, Advanced JavaServer Pages, and Core JavaServer Faces (all from Prentice-Hall). David was a member of Sun’s Expert Groups for the JavaServer Pages Standard Template Library (JSTL), and JavaServer Faces (JSF) 1.0. He also was the second Apache Struts committer and the inventor of the Struts Template Library, the precursor to the popular Tiles open-source framework for composing web pages from JSP fragments. David wrote questions for Sun’s Web Developer Certification Exam and is the president of Clarity Training Inc., a training and consulting company focusing on server-side Java technology.

 

Rob Gordon is an independent consultant specializing in the design and implementation of enterprise systems. He is a former Sun developer and author of Essential JNI and coauthor of Essential JMF.

 

Cu>

 

Google Web Toolkit (GWT) is an open source Java development framework for building 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 with pure Java, using familiar idioms from the AWT, Swing, and SWT. GWT goes beyond most Ajax frameworks by making it easy to build 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 focuses on the more advanced aspects of GWT that you need to implement real-world applications with rich user interfaces but without the 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, and using advanced event handling methodologies.

 

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 Script.aculo.us 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 GWT applications to an external server

•   Dynamically resizing flex tables

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

 

Complete Sample Code Available at www.coolandusefulgwt.com

 

All of the code used in this book has been tested, both in hosted and web modes, and in an external version of Tomcat (version 5.5.17), under Windows, Linux, and Mac OS X. For Windows and Linux, we used 1.4.60, and for the Mac we used 1.4.61.  NOTE: There are three separate versions of the code. Please download the correct JAR file for the operating system you are using.




Foreword xiii

Preface xvi

Acknowledgments xviii

About the Authors xix

 

Solution 1: GWT Fundamentals and Beyond 1

Solution 2: JavaScript Integration 53

Solution 3: Custom Widget Implementation 71

Solution 4: Viewports and Maps 103

Solution 5: Access to Online Web Services 133

Solution 6: Drag and Drop 167

Solution 7: Simple Windows 199

Solution 8: Flex Tables 237

Solution 9: File Uploads 283

Solution 10: Hibernate Integration 303

Solution 11: Deployment to an External Server 325

Solution 12: GWT and Legacy Code 343

Index 371



 


 

Downloads

Complete Sample Code Available

All of the code used in this book has been tested, both in hosted and web modes, and in an external version of Tomcat (version 5.5.17), under Windows, Linux, and Mac OS X. For Windows and Linux, we used 1.4.60, and for the Mac we used 1.4.61.

Download the JAR file

Customer Reviews

1 of 2 people found the following review helpful
2.0 out of 5 stars Not good to write a technical book with no source code, July 2, 2008
By 
This review is from: Google Web Toolkit Solutions: More Cool & Useful Stuff (Paperback)
I've tried at length to obtain the source code used in the book. Geary leaves it to the user to acquire the addons that he uses in his examples. Yes I've tried going the Safari route. Without signing up for a "90 day free then we charge you big" trial, you won't have any luck. I also read the previous post where he mentioned that he obtained the code from the website. If you go there now, the code has been pulled so I'm back to being forced to sign up for Safari which I won't do. I did read through the examples and do what I could. Instead of this book, I'd recommend "Google Web Toolkit Applications" by Dewsbury. The examples may not be as advanced as these, but at least you can run them.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


3 of 6 people found the following review helpful
4.0 out of 5 stars Very practical, lucidly written, January 20, 2008
By 
Amazon Verified Purchase(What's this?)
This review is from: Google Web Toolkit Solutions: More Cool & Useful Stuff (Paperback)
You can easily find most of its content on the internet, but you may feel more confident having it somewhere near.
Chapters 8 & 9 (Flex table & File uploads) were very helpful for me. I used that solution in my small project and it worked like a charm.
Anyway, I give 5-stars only for books I consider outstanding. I'd give 4.5 if I could.
My advice: read very carefully what is covered in the book, if you need at least 3-4 solutions (or you believe you might need it in the future) buy it if not try Dewsbury's book.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


2 of 5 people found the following review helpful
5.0 out of 5 stars My new review, January 14, 2008
Amazon Verified Purchase(What's this?)
This review is from: Google Web Toolkit Solutions: More Cool & Useful Stuff (Paperback)
I posted a review (back in January, this updated review is posted in late May 2008) that slammed Prentice Hall for not making the code samples available from anywhere except through a 90 day free trail thru Safari (an online subscription based service).

The editor and one author responded and let me know that the site was incorrectly missing in the book, but that a site (called coolandusefulgwt with the obvious ending.) was available and has all material easily downloadable. I have checked out this site and confirmed that the code is indeed available. It is a very cool site in that it the entire site (or most of it) is a GWT application!

I applaud the editor and authors efforts to inform me and other purchasers of the book... and they also explained that the susbscription based service is not going to be the sole method to get code from Prentice Hall books...which is even better news.

I am giving this book 5 stars as it is a very good book for GWT... Read more
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


Share your thoughts with other customers:
 See all 3 customer reviews...

Online Sample Chapter

Google Web Toolkit Solutions: Implement Drag and Drop in Your Web Apps

Table of Contents

Foreword xiii

Preface xvi

Acknowledgments xviii

About the Authors xix

 

Solution 1: GWT Fundamentals and Beyond 1

Solution 2: JavaScript Integration 53

Solution 3: Custom Widget Implementation 71

Solution 4: Viewports and Maps 103

Solution 5: Access to Online Web Services 133

Solution 6: Drag and Drop 167

Solution 7: Simple Windows 199

Solution 8: Flex Tables 237

Solution 9: File Uploads 283

Solution 10: Hibernate Integration 303

Solution 11: Deployment to an External Server 325

Solution 12: GWT and Legacy Code 343

 

Index 371

 

Preface

Download the preface

Downloadable Sample Chapter

Download the chapter

Foreword

Download the foreword

Index

Download the index

 
Best Value

Book + eBook Bundle  $80.98  $48.59

Book Price: $35.99
eBook Price: $12.60

Buy

This book includes free shipping!

Buy

Book  $44.99  $35.99

Usually ships in 24 hours.

This book includes free shipping!

Buy

eBook (Watermarked)  $35.99  $28.79

About Watermarked eBooks

This PDF will be accessible from your Account page after purchase and requires the free Adobe® Reader® software to read it.

The eBook requires no passwords or activation to read. We customize your eBook by discretely watermarking it with your name, making it uniquely yours.

Watermarked eBook FAQ

Purchase Reward: One Month Free Subscription
By completing any purchase on InformIT, you become eligible for an unlimited access one-month subscription to Safari Books Online.

Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.