Ajax is everywhere these days, and although Ajax can simplify and improve user experience, the experience of Ajax developers is often far from simple and could stand improvement. Perhaps the biggest headache Ajax developers face is the painful world of cross-browser problems. Browser quirks add untold hours of aggravation to even the best planned Ajax projects. Something that works perfectly well in Firefox doesn't work properly in Internet Explorer, for example. Wouldn't it be great if there were a way to concentrate on designing a great application and not have to worry about getting it to work properly in multiple browsers? That's the goal of Google Web Toolkit.
Google Web Toolkit (GWT) is an open source Java development framework that allows Java developers to leverage their years of experience to build applications directly in Java, using the wealth of tools and best practices they already know so well, and then use GWT to translate the Java into JavaScript that runs well in multiple browsers without fussing over browser quirks.
David Geary's book, Google Web Toolkit Solutions, helps Java developers write excellent GWT applications. The author's goal is to "teach you how to kick ass with GWT."
This is not a book for GWT newbies. The authors (Geary's co-author is former Sun developer, author, and consultant Rob Gordon) very clearly explain in the beginning of the book that their aim is to put GWT developers into the fast lane--not to help people brand new to GWT get started. They don't explain how to acquire and install GWT. They do not supply a "hello world" example. Instead, they dive deeply into practical, non-contrived solutions experienced developers will appreciate.
If you're an experienced programmer, have some experience with GWT, and want a guide to an assortment of practical solutions, this is a great book for you. If you don't have programming experience, or if you're brand new to GWT, you'll want to learn a bit more elsewhere before tackling this book. Also, note that by "programming experience" I don't necessarily mean "Ajax programming experience" because one of the strengths of GWT is you needn't know much about Ajax to create Ajax applications. A Java developer with no Ajax experience, for instance, will find Google Web Toolkit Solutions very useful.
The 370 page book is organized into 12 chapters, each of which carefully explores a solution. The first solution is an overview of GWT fundamentals. Concepts covered in this chapter include: an introduction to GWT widgets, the anatomy of a GWT application, using GWT panels, and implementing remote procedure calls.
The 11 solutions that follow are: JavaScript integration, custom widget implementation, viewports and maps, access to online web services, drag and drop, simple windows, flex tables, file uploads, hibernate integration, deployment to an external server, and GWT and legacy code. Each solution begins with "stuff you're going to learn" that prepares the reader for the upcoming concepts, and ends with "stuff we covered in this solution" that reinforces the new concepts the reader just learned.
Geary has created a companion website that contains demos of all the solutions in the book. If you're curious about GWT, this companion website is a great place to see some working examples of GWT in action. The site also includes errata and other information that compliments the physical book.
It's worth mentioning that there seems to be a bit of confusion in these early days of GWT about how GWT compares to a framework like Ruby on Rails. GWT and Rails differ from one another and have different goals. While Rails is designed as an end-to-end solution that handles every aspect of the Model-View-Controller paradigm, GWT is essentially a client-side-only framework, aside from its support for Remote Procedure Calls to make queries against the server.
It's also worth mentioning that GWT doesn't entirely banish cross-browser problems. Even on the companion website, Geary discusses cross-browser problems that affect the solutions found in the book that you can verify yourself by using the demos in various browsers. That said, if the choice is between a few browser quirks squeaking past GWT and many browser quirks disrupting a regular Ajax development project, I for one would opt for GWT.
If you're planning on using Ajax and want to beef up your GWT skills, I highly recommend Google Web Toolkit Solutions. It's packed with practical information that will help you use GWT to its fullest, and the author's expertise, unabashed enthusiasm for the subject, and charismatic personality are evident in abundance throughout the text. David Geary wants you to kick ass with GWT, and with his book at the ready, you will.
Read up on the latest ideas and technologies from companies that sell hardware, software and services. Making the Business Case for IT Consolidation
Achieving the impossible: Unlimited application scalability
Everything you need to know about email and web security (but were afraid to ask)
Strategies for Eliminating .PST Files
CRM your salespeople will love
Taking On Demand CRM Integration to the Next Level
The state of Middleware
Controlling storage costs with Oracle database 11g
Zones provide focussed content from Computerworld and leading technology partners.Discover how SOA can create smarter outcomes for your business.
Attend and learn:
- How SOA is helping leading companies to become more agile
- Where you should be applying SOA processes in your company
- The top SOA implementation mistakes to avoid
Click here for more information.
- +
Computerworld Live Podcast #97: The Future of Enterprise Networking 25/07/2008 09:45:36
This week CW Live chats with Mark Thompson, global sales and marketing manager for HP ProCurve, on the future of the enterprise networking. Mark discusses the trends we can expect to see in the near future and how the right infrastructure can ensure your enterprise network is secure. - +
Computerworld Live Podcast #96: Security at the Edge 11/06/2008 09:22:22
CW Live speaks with Amol Mitra, HP ProCurve Director of Marketing for Asia Pacific and Japan. Today's topic: how enterprises are starting to shift away from simply controlling security via server logins, firewalls and moving to more adaptive security frameworks. - +
Data Management Edition #10: Multi-Petascale Systems 02/05/2008 09:12:33
This week we look at sustainability and the development of multicore technologies to build multi-petascale systems. - +
IT Security Edition #11: How to poison the Storm botnet 01/05/2008 08:51:55
This week CW Live presents a case study on how to poison the notorious Storm botnet . Plus we take a look at Cisco's plans for Ironport. - +
IT Security Edition #10: Cyber-battles fought and won 24/04/2008 11:09:47
Vendors bow to end user pressure to improve product security, and we take a look at the latest concepts shaping the cyber-battlefield of the future.
FrontRange Solutions launches HEAT Plus Mobile to reduce help desk costs and improve service management productivity 2008-12-02 15:15:00+11
AARNet Helps to Advance Indigenous Health 2008-12-02 12:44:00+11
Orbis selects Telstra International as its data centre partner for the UK, Europe and Middle East Region 2008-12-02 11:23:00+11
ComOps Deploys Corporate Performance Reporting Solution For Healthcare Test Manufacturer 2008-12-02 10:09:00+11
Mornington Peninsula Shire implements Objective to manage knowledge and deliver service excellence 2008-12-02 09:56:00+11
Best Practice in Building an Integrated Information Management Strategy
Discover the business value that creating an integrated information platform can bring. Learn how to provide consistent, accurate information to all stakeholders within your business network. Integrate vital data from disparate sources and deliver a trusted information foundation. Read on to uncover the stepping-stones to your new information management strategy.












