Java J2EE Portal
Enterprise Java Station
J2EE curve
Java News / Articles
Java News / Articles
India Java User Groups
Ajax And Web 2.0 Panel Discussion
Password Based Authentication Using Message Digests
Processing...
Buy Java, Deals On Software Technology Store
Click here for great deals on computers, laptops, software and books
Java Ajax Programming using Google Web Toolkit (GWT) - Book Review PDF Print
Written by Sangeeta Oak   
Jun 07, 2007 at 12:47 AM
Google Web Toolkit - GWT - AjaxGoogle Web Toolkit (GWT) Java AJAX Programming by Prabhakar Chaganti is an excellent book for GWT beginners. The language is straightforward and easy to follow. The book starts with a short introduction to Ajax. It then talks about the steps to follow for getting started with GWT 1.3.3. The first chapter essentially familiarizes you with the GWT extract - the folders and their contents. It also talks about the sample applications that come with the download.

The second chapter moves on to building your first application and the simplicity of the task will surprise you. The book moves on to show you how to create your first Ajaxed application. The LiveSearch, Password Strength, Flickr Editable Label, the Monalisa Puzzle and lots of interesting examples make it really easy for you.

The book follows a standard pattern of a "Time For Action" section followed by "What just happened?" section for every task or example. The first section walks you through how to complete and run a task and the second section explains how it was done.

The book does have some errors/typos that need cleaning up but nothing that will distract or mislead the serious reader. The place where I believe the book could do with some changes is in the second chapter where the author takes the user through the task of running an application in the web mode. Typically, a technical book reading is different from novel reading where you read each fine line to follow the plot. Thus, if you skip reading all the lines, you might miss some important details. The heading of the section is "Running the Application in Web Mode" in bold letters followed by the "Time for Action" and then the "What just happened" sections. The "Time for Action" explains what is to be done to compile the application from Java to Javascript so you can run it in the web mode. However, the part which tells you  that " the steps required to deploy the server code on a server are explained at the end of the book" is mentioned deep down in the passages that follow. So it's easy to miss that bit and then struggle to run the app in the web mode. 

The book uses a lot of the GWT API classes to create a layout similar to the GWT Demo app. But it would have been good if there was a chapter with a diagram or two about all the layouts and other frequently required GWT API classes. 

The chapters that follow take on more complex examples. One chapter focuses on JSNI and explains how to use the Rico, Moo.fx and Script.aculo.us libraries with your GWT application. The next chapter shows the by now comfortable-with-GWT reader how to create widgets. The author has demonstrated how to create a Calendar widget and the Weather widget which uses the Yahoo Weather Really Simple Syndication(RSS) service. This is all detailed out in chapter 7.

The next chapter is all about creating and running unit tests for testing GWT applications and RPC services.The GWT creators essentialy wanted to give the user the complete Java development cycle experience and have thus incorporated unit testing by providing the GWTTestCase class which extends from the TestCase in the JUnit testing library. Chapter 8 shows you how to leverage just that.

A chapter is also dedicated to taking the reader through internationalizing a GWT app. And finally the last chapter takes you through the deployment of your RPC service. The author has used the Tomcat server and Ant for automated deployment.

All in all, highly recommended if you want to know what the creature called GWT is. Very readable and full of apps that are easy to follow and try out. Again, the book is meant for those starting on GWT. So you are not going to find any of theory stuff (for eg how GWT uses deferred binding) that an intermediate level user might want.

If you wish to get a closer look at the book, the first chapter is freely available right here on IndicThreads.com. Visit - Creating a new Google Web Toolkit (GWT) application

Google Web Toolkit GWT Java AJAX Programming
Paperback 240 pages [191mm x 235mm]
Release date February 2007
ISBN 1847191002
ISBN 13 978-1-847191-00-7
Author - Prabhakar Chaganti
Cover price - $44.99

- Sangeeta Oak

Related
* Indichreads-DevSquare Java Code Contest
* IndicThreads.com Conference On Java Technology, Pune - India
* Creating a new Google Web Toolkit (GWT) application
User Comments

Comment by GUEST on 2007-06-12 09:44:19
Hi 
 
There is going to be a Blogcamp in India on 16th of June. Around 250 bloggers will be taking part in the event. 
 
This is what they say on their blog: "The way unconferences work is that, you don't have an agenda, rather we will put up a white board, where participants will themselves add the topics they are interested to speak upon. Depending upon the number of speakers we will go for multiple threads. There will be some intense discussions, we will have a lot of fun and yes there will be blogging, video blogging, photo blogging, podcasting ... everything under the blogger sun." 
 
The registrations have started. We are planning to have 250 participants from all over the country. There are some people taking part virtually, using youtube, slideshare, skype etc. if you are interested please add your name to the wiki. 
 
Check the: 
wiki: http://barcamp.org/BlogCampPune 
official blog: http://www.blogcamppune.blogspot.com 
 
rashmi
Your Name / Email Address
Comment
Spam Protection - Please enter the code in the image -

Listen to code


Add This Feed Button

Enter your Email


Java Expert Interviews
MarcDomenig
Swing UI is mature while Ajax is still in its infancy
Jesper_Joergensen
WebLogic 9.0 takes J2EE to a new level of reliability and scalability
RichUngerNetBeans
NetBeans was the early bird but has Eclipse caught the worm?
Processing...
Go to top of page  Home |
SiteMap

Copyright 2004 to 2008 Rightrix Solutions. All rights reserved. All product names are trademarks of their respective companies. Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. Rightrix Solutions and IndicThreads.com are independent of Sun Microsystems, Inc.

Views expressed at IndicThreads.com reflect the views of the authors alone, and do not necessarily reflect those of IndicThreads.com. IndicThreads.com and it's authors are not responsible for reader comments and opinions.

Enterprise Java J2EE JEE Portal >> IndicThreads.com