Skip to Content
GWT in Practice
book

GWT in Practice

by Charlie Collins, Robert Cooper
April 2008
Intermediate to advanced
376 pages
11h 56m
English
Manning Publications

Overview

GWT in Practice is an example-driven, code-rich book designed for web developers who have already learned the basics of GWT. After a quick review of GWT fundamentals, GWT in Practice presents scores of handy, reusable solutions to the problems you face when you need to move beyond "Hello World" and "proof of concept" applications. This book skips the theory and looks at the way things really work when you're building projects in GWT.

GWT in Practice shows you where GWT fits into the Enterprise Java developer's toolset. Written by expert authors Robert Cooper and Charlie Collins, this book combines sharp insight with hard-won experience. Readers will find thorough coverage of all aspects of GWT development from the basic GWT concepts and essentials to in-depth and complete real world example applications. If you know the basics and are ready to get your hands dirty, then you need this book.



About the Technology

If you're a web developer, you already know that you can use Ajax to add rich, user-friendly, dynamic features to your applications. With the Google Web Toolkit (GWT), a new Ajax tool from Google that automatically converts Java to JavaScript, you can build Ajax applications using the Java language. GWT lets you focus on application design and functionality, rather than on browser differences, and allows you to re-use code throughout the layers of your applications.



About the Book

The first part of the book is a rapid introduction to the GWT methodology. All of the basics of GWT development are covered in this portion, including a client side standalone application and basic server side communications using the GWT Remote Procedure Call (RPC) and object serialization mechanism.

The second part of the book then delves into several practical examples which further demonstrate core aspects of the toolkit. These include:

  • Using the GWT APIs
  • GWT methods for communicating with servers
  • Event-driven programming approach used with the toolkit
  • Support for JavaScript Object Notation (JSON)
  • Native JavaScript integration with the JSNI
  • Packaging and deployment of GWT applications
  • Testing with JUnit.

The book concludes by presenting several larger GWT applications including drag and drop support for UI elements, data binding, processing streaming data, handling application state, automated builds, and continuous integration.

Along the way GWT in Practice covers many additional facets of working with the toolkit. Various development tools are used throughout the book, including Eclipse, NetBeans, IDEA, Ant, Maven, and, of course, the old fashioned command line. The book also addresses integrating GWT with existing applications and services along with enterprise and team development.



What's Inside
  • How to create and customize widgets
  • The ins and outs of RPC
  • Packaging and building with Maven and Ant
  • Using the Java Persistence API with GWT
  • Effective internationalization


About the Reader


About the Authors

Robert Cooper is a JEE developer with over 15 years of web development experience. He is a the creator of several open source projects, including the FeedPod text-to-speech podcasting system, the GWT-Maven plugins for supporting Maven based builds for the Google Web Toolkit, and the Gwittir GWT framework. He is also a contributor to other open source projects such as the ROME RSS/Atom API for Podcasting and MediaRSS.

Charlie Collins is a JEE developer with over 10 years of experience. He has been involved with enterprise development, architecture, and general programming using several languages and technologies, with a focus on Java and the web tier. He has been an ardent open source supporter for many years and has contributed documentation and patches for various open source projects. Charlie is currently a contributor to the GWT-Maven project, the Android-Maven project, the Gwittir GWT framework, and the FeedPod text-to-speech podcasting system.



Quotes
A true hands-on manual for GWT.
- Edmon Begoli, Oak Ridge National Laboratory

Cooper and Collins live and breathe GWT - their code is spotless.
- Andrew Grothe, Triware Technologies Inc.

Expertly explains the genius of this technology - a real gift.
- Peter Pavlovich, Kronos Inc.

The more complex your project, the more critical is this information.
- Ara Abrahamian, NSI ltd

The perfect guide to GWT in the real world.
- Devon Hillard, DigitalSanctuary.com

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

GWT in Action

GWT in Action

Adam Tacy, Robert Hanson
Full Stack Development with JHipster

Full Stack Development with JHipster

Deepu K Sasidharan, Sendil Kumar Nellaiyapen

Publisher Resources

ISBN: 9781933988290Publisher SupportPublisher Website