Feeds

Google gears Java 5 Web Toolkit

CSS shrinkage on roadmap

Choosing a cloud hosting partner with confidence

Google is this week expected to release the long-awaited update to its Web Toolkit (GWT) adding support for Java 5 Standard Edition language features to speed development and performance of JavaScript.

The search giant has also outlined plans for successive versions of its web toolkit. Version 1.6 is scheduled for the third quarter, under a planned quarterly cycle for "minor" updates, with a version 2.0 featuring bigger changes further out.

Goals for version 2.0 include automating the removal of unwanted CSS code to shrink an application's download size. GWT co-creator Bruce Johnson told Reg Dev: "We'd like to apply some of the techniques that have served us well in GWT to CSS." There's no date for version 2.0 yet which Johnson noted is still "up in the air".

One likely target will be moving GWT to Java 6, released in December 2006. Java 5 this April entered what Sun Microsystems called its "end of life transition period", a period that will last until October 8, 2009. That means free "fixes" will no longer be generally available for Java 5 unless you sign up to Sun's new Java SE for Business program, which provides 15 years of support. You can also upgrade to Java 6.

Ahead of that, this week, there's the GWT 1.5 release candidate, whose biggest addition is the ability to generate JavaScript from Java 5. Johnson believes Java 5 features intended to clean and simplify application programming combined with GWT complier improvements will further boost web applications' performance.

Java 5 includes generic types, enumeration types, annotations, auto boxing and parameter lists that let programmers build cleaner code and - thus - becomes more straight forward for GWT to compile.

"It depends on the way you construct your code, how much client side-code you run. If you are doing complex algorithms, big-time formatting... that will get significantly faster," Johnson said. He also claimed most existing GWT applications could be migrated and recompiled in a "couple of hours" adding breaking changes will be listed in the accompanying documentation.

Additionally, GWT 1.5 features a new set of low-level DOM classes to program a level beyond widgets. "You can hit it [GWT] at the JavaScript, Java or DOM level that suits your application," Johnson said.

Goggle sees GWT 1.5 being used in a number of scenarios, beyond just Google applications. Already, GWT is being used with Adobe Systems' Flash for multimedia, AIR, and the iPhone Safari browser, with Google engineers also using GWT code to run on the company's planned Android mobile platform.®

Choosing a cloud hosting partner with confidence

More from The Register

next story
Nexus 7 fandroids tell of salty taste after sucking on Google's Lollipop
Web giant looking into why version 5.0 of Android is crippling older slabs
Be real, Apple: In-app goodie grab games AREN'T FREE – EU
Cupertino stands down after Euro legal threats
Download alert: Nearly ALL top 100 Android, iOS paid apps hacked
Attack of the Clones? Yeah, but much, much scarier – report
Microsoft: Your Linux Docker containers are now OURS to command
New tool lets admins wrangle Linux apps from Windows
Bada-Bing! Mozilla flips Firefox to YAHOO! for search
Microsoft system will be the default for browser in US until 2020
Facebook, working on Facebook at Work, works on Facebook. At Work
You don't want your cat or drunk pics at the office
prev story

Whitepapers

Why and how to choose the right cloud vendor
The benefits of cloud-based storage in your processes. Eliminate onsite, disk-based backup and archiving in favor of cloud-based data protection.
Getting started with customer-focused identity management
Learn why identity is a fundamental requirement to digital growth, and how without it there is no way to identify and engage customers in a meaningful way.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
The hidden costs of self-signed SSL certificates
Exploring the true TCO for self-signed SSL certificates, including a side-by-side comparison of a self-signed architecture versus working with a third-party SSL vendor.
Intelligent flash storage arrays
Tegile Intelligent Storage Arrays with IntelliFlash helps IT boost storage utilization and effciency while delivering unmatched storage savings and performance.