Home > Store > Programming > Java

larger cover

Add To My Wish List

Google Web Toolkit Applications

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

  • Description
  • Downloads
  • Extras
  • Reviews
  • Sample Content

Product Author Bios

Ryan Dewsbury is a developer, architect, and consultant who started working in C++ and Java in 1998 and has used GWT since its first release. His recent projects include developing software applications with GWT (most notably gpokr.com and kdice.com). As a consultant, Ryan helps companies develop great online user experiences using cutting-edge software.

“Ryan clearly understands the GWT value proposition and how GWT integrates into a diverse web technology stack–and not just in a theoretical way. With the popularity of gpokr.com and kdice.com, Ryan can speak with the authority of concrete success.”

Bruce Johnson, creator of Google Web Toolkit


“This book distinguishes itself from other books on GWT in that it walks through the entire process of building several nontrivial GWT applications, not the toy applications that most books present.”

R. Mark Volkmann, Object Computing, Inc.


Google™ Web Toolkit Applications is an excellent resource for any GWT developer. Solutions to challenges commonly encountered in GWT are presented through the design and development of actual applications. The applications developed throughout the text demonstrate best practices from simple UI design all the way to custom code generation, and are presented with little pretext about the amount of Java knowledge a given developer may have. Advanced concepts are not withheld but are presented in a way that will be understood by both novice and seasoned developers alike. Good application development practices and proper Model View Controller design is reinforced throughout the book, nearly guaranteeing that the reader will come away a better programmer. “

Jason Essington, Senior Web/Java Engineer, Green River Computing


“Dewsbury’s Google™ Web Toolkit Applications is a book for both experts and beginner programmers who want to discover this open source Java software development framework, as well as write Ajax applications. A very detailed book!”

Massimo Nardone, Advisory IT Security Architect

Accelerate and Simplify Ajax Development with Google Web Toolkit


Get the edge you need to deliver exceptional user experiences with Google™ Web Toolkit Applications, a guidebook that provides web developers with core information and instructions for creating rich web applications. Whether you’re a developer who needs to build a high-performance front end for Java, PHP, or Ruby applications, or to integrate with external web services, this resource from expert Google Web Toolkit (GWT) developer Ryan Dewsbury delivers the in-depth coverage you’ll need.


In this valuable book, insider Ryan Dewsbury provides instructions for using the robust tool set and gets you on your way to creating first-class web applications by providing a comprehensive overview of GWT technology. In addition, he shares his “in-the-trenches” insights on


  • Building elegant and responsive user interfaces with Cascading Style Sheets and GWT’s Widgets and Panels

  • Creating seamless user experiences through asynchronous communication with HTTP, REST, JSON/JSONP, and RPC Interoperating with web standards–such as XML, RSS, and Atom–and web services–such as Google Maps, Amazon Books, Yahoo! Search, Flickr, and Blogger

  • Overcoming browser security restrictions, such as HTTP’s two-connection limit and the Same-Origin policy

  • Accelerating development, using software engineering, code generation, internationalization, application patterns, and Java tools

  • Deploying for optimal performance with resource compression and caching

  • Building five non-trivial applications: a gadget application with a rich drag-and-drop interface, a multi-search application that makes requests to many search engines, a blog editor application for managing entries across multiple blogs, a web-based instant messenger, and a database manager for a traditional web page

This practical guide to GWT introduces you to the technology; provides techniques, tips, and examples; and puts you on the road to delivering top-notch user experiences for your web applications.

Related Articles

Content Providers: Android's Data Sharing Mechanisms

Five Faves with Ryan Dewsbury

Author's Site

Please visit the author's website at gwtapps.com and www.rdews.com

See the First Safari “Search This Book” Widget on Ryan's Sites
PTG and Safari Books Online have collaborated to launch a beta release of a "Search This Book" widget for integration into the websites of technical book authors. The widget enhances the experience for visitors by enabling them to go beyond the book description and to locate relevant content from within the book by conducting full-text searches using the widget. Read the announcement.

Customer Reviews

6 of 6 people found the following review helpful
5.0 out of 5 stars Love the book, wish it was in a little different order(maybe), March 30, 2008
Amazon Verified Purchase(What's this?)
This review is from: Google Web Toolkit Applications (Paperback)
This book is the definitive guide to GWT. I would say you need to have more then a beginner's knowledge of Java (which the authors recommends also) and have some web development experience with the HTTP forms just to appreciate what the author is trying to show you. I can't believe I am saying this because the examples in the books are absolutely top notch, but it would be nice to have more sample little code snippets earlier in the book. There is a ton to digest before you get to Chapter 6 where all the great example code starts. But if you do what I did, and try to put into action at least part of what you have learned from each chapter in your own sample programs you will be better prepared for the later chapters. Otherwise, you get to chapter 6 and you are not sure what hit you. That really is my only complaint, a few easy sample apps after each chapter before you get into the big ones in the middle of the book would be nice. But after you finish this book you will... Read more
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


27 of 35 people found the following review helpful
5.0 out of 5 stars Detailed and practical book on Google Web Toolkit, December 18, 2007
By 
calvinnme - See all my reviews
(HALL OF FAME REVIEWER)    (TOP 500 REVIEWER)    (VINE VOICE)   
This review is from: Google Web Toolkit Applications (Paperback)
This book is about writing Ajax applications that create richer user experiences than you usually find in a tutorial book on application programming. It uses web technologies and Java development tools and shows how the Google Web Toolkit (GWT) bridges the two in such applications. Thus the book's primary focus is on the Google Web Toolkit itself along with its library and tools. Secondarily, the book covers software development techniques using Java and how to apply Ajax application development with the GWT. Finally, the book looks at web technologies including web standards and Ajax libraries and APIs. The GWT has many abilities that aren't clear to the novice, and this book takes an example-based approach and attempts to demonstrate many of the capabilities of the GWT to you.

The book's author assumes you already know how to program in Java, and thus does not spend time tutoring you in this. He does not assume you know anything about the GWT. This book is hands on and... Read more
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


5 of 5 people found the following review helpful
5.0 out of 5 stars Best GWT book ever, August 2, 2008
This review is from: Google Web Toolkit Applications (Paperback)
This is the best GWT book among the others. Covers from basic concepts and definitions behind GWT (like the gadget library, panels, compositions) and moves to advanced topics (like internationalization, integration with other server technologies, patterns, etc). The book explains server comunication taking from the basic comunication (http requests) to more complex JSON and XML examples. It explains very well and gives so many examples, including many application examples (it's 600 pages).

For those with some experience in Java programming for the WEB and wants to know everything about GWT, this book is perfect.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


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

Online Sample Chapter

Software Engineering for Ajax Using the Google Web Toolkit

Table of Contents

Preface xvii

About the Author xxiii


Part I: Understanding the Google Web Toolkit 1


Chapter 1: First Steps with the Google Web Toolkit 3

The Emergence of Ajax 3

Rethinking Web Applications 5

Software Engineering for Ajax 8

Evaluating Your Background 11

The Importance of Application Development Skills 14

A Quick Tutorial 16

Overview of Toolkit Packages 30

Overview of GWT Applications 34

Summary 36


Chapter 2: User Interface Library Overview 37

Static Widgets 38

Form Widgets 47

Complex Widgets 63

Simple Layout Panels 70

Complex Layout Panels 80

Simple Container Panels 84

Complex Container Panels 87

User Interface Framework Glue 95

Summary 103


Chapter 3: Server Integration Techniques 105

Basic Server Integration Techniques 105

Using Data Format Libraries 117

Third-Party Server Integration 125

Advanced Server Integration Techniques 128

Summary 137


Chapter 4: Software Engineering for Ajax 139

Setting Up the Development Environment 139

Adding Projects to Eclipse 145

Writing Java Code in Eclipse 149

Debugging in Eclipse 158

Organizing Your Application Structure 164

Testing Applications 168

Building and Sharing Modules 180

Deploying Applications 183

Summary 190


Chapter 5: Using the Toolkit Effectively 191

Using Asynchronous Programming 191

Handling the Back Button 197

Creating Elegant Interfaces with CSS 200

Extending the Toolkit 212

Internationalizing Applications 226

Generating Code 235

Improving Performance 242

Summary 251


Part II: Rich Web Applications by Example 253


Chapter 6: Gadget Desktop Application 255

Using the Container Application Pattern 256

Designing the Model 257

Building a Columned Container Interface 264

Putting Gadgets in the View 274

Creating Drag-and-Drop Gadgets 283

Cleaning Up User Interfaces with CSS 290

Adding Persistency 300

Using Other JavaScript Libraries 309

Summary 318


Chapter 7: Multi-Search Application 319

Using the Aggregator Application Pattern 319

Multi-Search Design 321

The Model 322

The View 324

The Controller 331

Importing Structured Data Formats 334

Integrating with Yahoo! Search 340

Integrating with Google Base 344

Integrating with Flickr Search 348

Integrating with Amazon Search 354

Summary 358


Chapter 8: Blog Editor Application 361

Using the Workspace Application Pattern 361

Building a Web Service Client 363

Blog Editor Design 365

The Model 365

Building a Multiple Document View 367

Adding Rich Text Editing 381

The LoadingPanel Widget 386

The TitleCommandBar Widget 388

Designing the Application Controller 390

Building an HTTP Proxy Servlet 392

Integrating with the Blogger API 401

Summary 421


Chapter 9: Instant Messenger Application 423

Using the Collaborator Application Pattern 423

Instant Messenger Design 425

The Model 426

Building a Complementary Interface 429

The Controller Overview 447

Using GWT-RPC 450

Connecting to the Server 456

Adding RPC Events 458

The Instant Messenger Server 465

Using Server-Side Advanced IO 470

Summary 478


Chapter 10: Database Editor Application 479

Using the Manager Application Pattern 480

Designing the Model 482

Using Asynchronous Data Access Objects 485

Building a Two-Paned Editor Interface 488

Server Integration Overview 507

Writing a Generic GWT Code Generator 510

Integrating with Action-Based PHP Scripts 522

Integrating with a RESTful Ruby on Rails Application 530

Integrating with a GWT-RPC Servlet 542

Summary 554


Index 555

Preface

Download the preface

Downloadable Sample Chapter

Download the chapter

Index

Download the index

 
Best Value

Book + eBook Bundle  $107.98  $64.79

Book Price $47.99
eBook Price $16.80
eBook formats included

Buy

This book includes free shipping!

Buy

Book  $59.99  $47.99

Usually ships in 24 hours.

This book includes free shipping!

Buy

eBook (Watermarked)  $47.99  $38.39

Includes EPUB, MOBI, and PDF
About eBook Formats

This eBook includes the following formats, accessible from your Account page after purchase:

ePubEPUBThe open industry format known for its reflowable content and usability on supported mobile devices.

MOBIMOBIThe eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

Adobe ReaderPDFThe popular standard, used most often with the free Adobe® Reader® software.

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

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.