Section 2. Incorporate JavaScript and JavaScript Toolkits

The GWT exists so that Java developers can easily create Ajax-enabled applications without resorting to JavaScript, and for the most part, you can get by with very little knowledge of JavaScript when you use the GWT to implement your web applications.

On the other hand, however, there are a number of useful JavaScript toolkits—such as Prototype, Dojo, Scriptaculous, Rico, and so forth—that can greatly increase your productivity and make your applications much more usable. You may also, from time to time, have the urge to dip into some JavaScript yourself.

In the Yahoo! Trips application, we use Scriptaculous to apply a grow effect to a panel that contains the results of our search. The ...

Get Google now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.