Google Web Toolkit GWT Java AJAX Programming
Formats:
save 50%!
save 37%!
Free Shipping!
| Also available on: |
|
- 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 : EnglishPaperback : 248 pages [ 235mm x 191mm ]
Release Date : February 2007
ISBN : 1847191002
ISBN 13 : 9781847191007
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
Prabhakar Chaganti
Code Downloads
Download the code and support files for this book.
Submit Errata
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
Errata
- 12 submitted: last submission 02 Jan 2012Errata type: Typo | Page number: 0 | Errata date: 03 Dec 09
The following commands in steps 1 & 2 has wrong path specified. (The drive letters should be 'C' instead of 'E' according to the screenshot below.) projectCreator.cmd -out E:\GWTBook\HelloGWT -eclipse HelloGWT applicationCreator.cmd -out E:\GWTBook\HelloGWT -eclipse HelloGWT -overwrite com.packtpub.gwtbook.hellogwt.client.HelloGWT
Errata type: Command Line | Page number: 18 | Errata date: 20 Mar 07
Replace -out \GWTBook\HelloGWT com.packtpub.gwtbook.HellowGWT.client.HelloGWT with -out E:\GWTBook\HelloGWT com.packtpub.gwtbook.hellogwt.client.HelloGWT
Errata type: Typo | Page number: 25 | Errata date: 18 Apr 07
In step #3, Replace "Define a RandomQuoteServiceImpl class that extends RemoteService..." with "Define a RandomQuoteServiceImpl class that extends RemoteServiceServlet..."
Errata type: Typo | Page number: 27 | Errata date: 04 Dec 07
In step 6, replace "quoteLabel" with ".quoteLabel" - (note the dot)
Errata type: Typo | Page number: 37 | Errata date: 8 Mar 07
TReplace "inr" in the last line of the page (in the code) with "int"
Errata type: Typo | Page number: 37 | Errata date: 16 Apr 07
Replace public void isPrimeNumber(int numberToVerify, AsyncCallbackcallback); with public void isPrimeNumber(int numberToVerify, AsyncCallback callback);
Errata type: Typo | Page number: 37 | Errata date: 30 Apr 07
Replace public void isPrimeNumber(int numberToVerify, AsyncCallbackcallback); by public void isPrimeNumber(int numberToVerify, AsyncCallback callback);
Errata type: Typo | Page number: 43 | Errata date: 30 Apr 07
Replace "primesService.isPrimeNumber(Integer parseInt(primeNumber.getText()), callback);" by "primesService.isPrimeNumber( Integer.parseInt(primeNumber.getText()), callback);"
Errata type: Typo | Page number: 43 | Errata date: 17 May 07
Replace Window.alert("Yes, "+ primeNumber.getText() + "' is a prime number."); with Window.alert("Yes, "+ primeNumber.getText() + "is a prime number.");
Errata type: Typo | Page number: 43 | Errata date: 17 May 07
Replace final PrimesServiceAsync primesService = (PrimesServiceAsync) GWT GWT.create(PrimesService.class); with final PrimesServiceAsync primesService = (PrimesServiceAsync) GWT.create(PrimesService.class);
Errata type: Broken code | Page number: 51 | Errata date: 08 Mar 07
Replace for (int i = 0; i < liveResultsPanel.getRowCount(); i++) { liveResultsPanel.removeRow (i); } with liveResultsPanel.removeRow(0); for (int i = 1; i < liveResultsPanel.getRowCount(); i++) { liveResultsPanel.removeRow (i); }
Errata type: Broken code | Page number: 76 | Errata date: 08 Mar 07
Add "Collections.sort(sortColumnValues);" just after "sortDirection = 0;"
Sample chapters
You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.
- 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
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.
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.

