Google Web Toolkit GWT Java AJAX Programming

Prabhakar Chaganti

eBook: $26.99
Formats: PDF, PacktLib, ePub and Mobi formats
$13.50 save 50%!
Print book: $44.99
$40.49 save 10%!
Print + eBook bundle: $71.98
Includes free access to the book on PacktLib
$44.54 save 38%!
Free Shipping! UK, US, Europe and selected countries in Asia.
This book can also be purchased from:
Overview
Table of Contents
The Author
Reviews
Downloads
  • Create rich Ajax applications in the style of Gmail, Google Maps, and Google Calendar
  • Interface with Web APIs create GWT applications that consume web services
  • Completely practical with hands-on examples and complete tutorials right from the first chapter
  • Read: Chapter 2 [PDF 505 KB] | Table of Contents | Slashdot Book Review
  • Also available to download immediately as an eBook

 

Book Details

Language : English
Paperback : 248 pages [ 235mm x 191mm ]
Release Date : February 2007
ISBN : 1847191002
ISBN 13 : 978-1-847191-00-7
Author(s) : Prabhakar Chaganti
Topics and Technologies : All Books, Google, AJAX, Java, Web Development


Table of Contents

Preface
Chapter 1: Getting Started
Chapter 2: Creating a New GWT Application
Chapter 3: Creating Services
Chapter 4: Interactive Forms
Chapter 5: Responsive Complex Interfaces
Chapter 6: Browser Effects with JSNI and JavaScript Libraries
Chapter 7: Custom Widgets
Chapter 8: Unit Tests
Chapter 9: I18N and XML
Chapter 10: Deployment
Appendix A: Running the Samples
Index
  • Chapter 1: Getting Started
    • Introduction to GWT
    • Basic Download
      • Time for Action—Downloading GWT
    • Exploring the GWT Samples
      • Time for Action—Getting into KitchenSink
    • GWT License
    • Summary
  • Chapter 2: Creating a New GWT Application
    • Generating a New Application
      • Time for Action—Using the ApplicationCreator
    • Generating a New Application with Eclipse Support
      • Time for Action—Modifying HelloGWT
    • Creating a Random Quote AJAX Application
      • Time for Action—Modifying Auto-Generated Applications
    • Running the Application in Hosted Mode
      • Time for Action—Executing the HelloGWT-Shell Script
    • Running the Application in Web Mode
      • Time for Action—Compile the Application
    • Summary
  • Chapter 3: Creating Services
    • Creating a Service Definition Interface
      • Time for Action—Creating a Prime Number Service
    • Creating an Asynchronous Service Definition Interface
      • Time for Action—Utilizing the AJAX Support
    • Creating a Service Implementation
      • Time for Action—Implement Our Service
    • Consuming the Service
      • Time for Action—Creating the Client
    • Summary
  • Chapter 4: Interactive Forms
    • Sample Application
    • Live Search
      • Time for Action—Search as you Type!
    • Password Strength Checker
      • Time for Action—Creating the Checker
    • Auto Form Fill
      • Time for Action—Creating a Dynamic Form
    • Sortable Tables
      • Time for Action—Sorting Table Rows
    • Dynamic Lists
      • Time for Action—Filtering Search Criteria
    • Flickr-Style Editable Labels
      • Time for Action—A Custom Editable Label
    • Summary
  • Chapter 5: Responsive Complex Interfaces
    • Pageable Tables
      • Time for Action—Interfacing a Dataset
    • Editable Tree Nodes
      • Time for Action—Modifying the Node
    • Log Spy
      • Time for Action—Updating a Log File
    • Sticky Notes
      • Time for Action—Playing with Sticky Notes
    • Jigsaw Puzzle
      • Time for Action—Let's Create a Puzzle!
    • Summary
  • Chapter 6: Browser Effects with JSNI and JavaScript Libraries
    • What is JSNI?
    • Moo.Fx
      • Time for Action—Using JSNI
    • Rico Rounded Corners
      • Time for Action—Supporting the Labels
    • Rico Color Selector
      • Time for Action—Wrapping the Color Methods
    • Script.aculo.us Effects
      • Time for Action—Applying Effects
    • Summary
  • Chapter 7: Custom Widgets
    • Calendar Widget
      • Time for Action—Creating a Calendar
    • Weather Widget
      • Time for Action—Creating a Weather Information Service
    • Summary
  • Chapter 8: Unit Tests
    • Test a GWT Page
      • Time for Action—Creating a Unit Test
    • Test an Asynchronous Service
      • Time for Action—Testing the Asynchronous Service
    • Test a GWT Page with an Asynchronous Service
      • Time for Action—Combining the Two
    • Create and Run a Test Suite
      • Time for Action—Deploying a Test Suite
    • Summary
  • Chapter 9: I18N and XML
    • Internationalization (I18N)
      • Time for Action—Using the I18N Support
    • Creating XML Documents
      • Time for Action—Creating an XML Document
    • Parse XML Documents
      • Time for Action—Parsing XML on the Client
    • Summary
  • Chapter 10: Deployment
    • Manual Deployment in Tomcat
      • Time for Action—Deploying a GWT Application
    • Automated Deployment Using Ant
      • Time for Action—Creating the Ant Build File
    • Deployment from Eclipse
      • Time for Action—Running Ant from Eclipse
    • Summary

Prabhakar Chaganti

Prabhakar Chaganti is the founder and CTO of Ylastic, a start-up that is building a single unified interface to architect, manage, and monitor a user's entire AWS Cloud computing environment: EC2, S3, RDS, AutoScaling, ELB, Cloudwatch, SQS, and SimpleDB. He is the author of Xen Virtualization and GWT Java AJAX Programming, and is also the winner of the community choice award for the most innovative virtual appliance in the VMware Global Virtual Appliance Challenge. He hangs out on Twitter as @pchaganti.

Read about his tips on time management...

Sorry, we don't have any reviews for this title yet.

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Find your book in our support section to find errata and to download code samples.

What you will learn from this book

  • Set up an elegant GWT development environment in Eclipse
  • Create, test, debug and deploy GWT applications
  • Develop custom widgets – examples include a calendar and weather forecast widget
  • Internationalize your GWT applications
  • Create complex interfaces using grids, moveable elements, and more
  • Integrate GWT with Rico, Moo.fx and Script.aculo.us to create even more attractive UIs using JSNI

Special Offers

PacktLib gives you access to this and 600+ other titles with an annual or monthly subscription.

Annual subscription:

$220.00 per annum

Monthly subscription:

$21.99 per month

Buy 2 eBooks
and Get 50% Off
+
Buy Google Web Toolkit GWT Java AJAX Programming with Google App Engine Java and GWT Application Development and get 50% off both the eBooks.
Just add both the eBooks to your shopping cart and enter gwtaejeb in the 'Enter Promotion Code' field. Click 'Add Promotion Code' and the discount will be applied.
View Best Selling eBook offers

In Detail

GWT Ajax Programming shows you how to create reliable user interfaces that enhance the user experience.

GWT is an open source Java software development framework that makes writing AJAX applications like Google Maps and Gmail easy for developers who don't speak browser quirks as a second language. Writing dynamic web applications today is a tedious and error-prone process; you spend 90% of your time working around subtle incompatibilities between web browsers and platforms, and JavaScript's lack of modularity makes sharing, testing, and reusing AJAX components difficult and fragile.

GWT lets you avoid many of these headaches while offering your users the same dynamic, standards-compliant experience. You write your front end in the Java programming language, and the GWT compiler converts your Java classes to browser-compliant JavaScript and HTML.

Chapter-by-Chapter

Chapter 1 introduces GWT, the download and installation of GWT, and running its sample application.

Chapter 2 deals with the creation of a new GWT application from scratch, and using the Eclipse IDE with GWT projects, creating a new AJAX Random Quotes application, and running this new application.

Chapter 3 deals with an introduction to and overview of GWT asynchronous services, and creating a prime number service and geocoder service.

Chapter 4 deals with using GWT to build simple interactive user interfaces. The samples included in this chapter are live search, auto fillable forms, sortable tables, dynamic lists, and a flickr-style editable lable.

Chapter 5 introduces some of the more advanced features of GWT to build more complex user interfaces. The samples included in this chapter are pageable tables, editable tree nodes, a simple log spy, sticky notes, and a jigsaw puzzle.

Chapter 6 includes an introduction to JavaScript Native Interface (JSNI) and using it to wrap third-party JavaScript libraries like Moo.fx and Rico. it also includes using the gwt-widgets project and its support for the Script.aculo.us effects.

Chapter 7 deals with creating custom GWT widgets. The samples included in this chapter are a calendar widget and a weather widget.

Chapter 8 concerns itself with creating and running unit tests for GWT services and applications.

Chapter 9 sees us using Internationalization (I18N) and client-side XML support in GWT.

Chapter 10 includes the deployment of GWT applications using both Ant and Eclipse.

This book is for Java developers who want to create Ajax interfaces using the Google Web Toolkit (GWT). It focuses on useful, practical tasks from the first chapter.

The book is aimed at programmers who want to use GWT to create interfaces for their professional web applications. It concentrates on the serious side of Ajax: creating powerful, productive applications for browser platforms.

Read the full Google Web Toolkit GWT Java AJAX Programming Table of Contents.

Approach

Each chapter covers a series of practical tasks, showing how to achieve a particular useful result – and then learn how it works so that you can apply your knowledge to your own unique situation.

Who this book is for

Readers will need experience writing non-trivial applications using Java. Experience with developing web interfaces is useful, but knowledge of JavaScript and DHTML is not required… GWT takes care of that!

Buy Google Web Toolkit GWT Java AJAX Programming

 

 

Are there no books available that are right for you at the moment? How about signing up to our newsletter to keep up to date?
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Sort A-Z