InfoQ

News

GWT 1.4 RC Provides Faster Load Times, Widget Enhancements, and Compiler Optimizations

Posted by Scott Delap on May 30, 2007 09:45 AM

Community
Java
Topics
Web Frameworks
Tags
GWT
Google's Bruce Johnson has announced the availability of GWT 1.4 RC. Among the highlights:

  • 150+ Bugfixes
  • New size improvements in the GWT compiler produce JavaScript that is 10-20% smaller when simply recompiled with GWT 1.4 RC.
  • An enhanced startup sequence reduces the size of your module's startup script by 80%! Even better, the new startup sequence removes an entire HTTP round-trip, reducing latency during those crucial first few hundred milliseconds at startup. According to our measurements, modules load about 33% faster as a result.
  • The above optimizations combined with ImageBundle, described below, make it possible for GWT-based applications to load surprisingly quickly. To see for yourself, check out startup time of the Mail sample included in the GWT 1.4 RC download.
  • GWT RPC is no longer tied to exclusively to servlets. New modularized RPC server code makes it easy to connect GWT RPC to your choice of Java back-ends.
  • SuggestBox makes it easy to add auto-complete functionality.
  • Splitters! HorizontalSplitPanel and VerticalSplitPanel allow users to resize portions of the user interface.
  • A new benchmarking subsystem integrates with JUnit to let you record and compare the speed of code snippets across multiple browsers and multiple parameter ranges. Benchmarking is a powerful way to identify bottlenecks and compare performance of alternative implementations.
  • The oft-requested java.io.Serializable is now included in the JRE emulation library and is synonymous with IsSerializable for the purpose of GWT RPC.
  • Mouse wheel events are now available on a variety of widgets.

Johnson notes that he feels ImageBundle is the single biggest feature of the RC release. The feature allows GWT to combine dozens of images into one "strip". This collapses them into one cachable HTTP request instead of what would have been numerous requests. Another benefit of using image bundles is the elimination of "bouncy" relayout as images are loaded and widths/heights are adjusted.

This is the first release with the support of GWT open source contributors.

No comments

Reply

Exclusive Content

Rob Windsor on WCF with REST, JSON and RSS

WCF is not just for SOAP based services and can be used with popular protocols like RSS, REST and JSON. Join Rob Windsor as he introduces WCF 3.5 and its new native support for non-SOAP services.

Christophe Coenraets Discusses Flex 3, AIR, and BlazeDS

Christophe Coenraets discusses Flex 3, Flex Builder, AIR, BlazeDS, Adobe and open source, integrating Flex with existing applications, and integrating RIAs with search engines and browsers.

Debunking Common Refactoring Misconceptions

Danijel Arsenovski attempts to dispel some of the myths around refactoring and how it applies to .NET developers.

REST Eye for the SOA Guy

In this presentation, recorded at QCon San Francisco, CORBA guru Steve Vinoski explains REST from the view of someone who comes to SOA from a traditional, RPC-oriented background.

Choose Feature Teams over Component Teams for Agility

Feature teams are key to scaling agility for large teams. In an excerpt from "Scaling Lean and Agile Development," Larman & Vodde show how feature teams resolve traditional problems & raise new issues

Billy Newport explains Virtualization

Billy Newport talks about virtualization, eXtreme Transaction Processing (XTP) and WebSphere Virtual Enterprise. He discusses hardware, hypervisor, JVM, application and data virtualization.

Virtualization and Security

While virtualization provides many benefits, security can not be a forgotten concept in its application.

Introduction to Agile for Traditional Project Managers

This session is specifically aimed at traditionally trained project managers who are new to Agile, and who would like to be able to relate the PMI's best practices to their Agile equivalents.