Feeds

Google gears Java 5 Web Toolkit

CSS shrinkage on roadmap

Providing a secure and efficient Helpdesk

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
Microsoft on the Threshold of a new name for Windows next week
Rebranded OS reportedly set to be flung open by Redmond
Business is back, baby! Hasta la VISTA, Win 8... Oh, yeah, Windows 9
Forget touchscreen millennials, Microsoft goes for mouse crowd
SMASH the Bash bug! Apple and Red Hat scramble for patch batches
'Applying multiple security updates is extremely difficult'
Apple: SO sorry for the iOS 8.0.1 UPDATE BUNGLE HORROR
Apple kills 'upgrade'. Hey, Microsoft. You sure you want to be like these guys?
ARM gives Internet of Things a piece of its mind – the Cortex-M7
32-bit core packs some DSP for VIP IoT CPU LOL
Lotus Notes inventor Ozzie invents app to talk to people on your phone
Imagine that. Startup floats with voice collab app for Win iPhone
prev story

Whitepapers

A strategic approach to identity relationship management
ForgeRock commissioned Forrester to evaluate companies’ IAM practices and requirements when it comes to customer-facing scenarios versus employee-facing ones.
Storage capacity and performance optimization at Mizuno USA
Mizuno USA turn to Tegile storage technology to solve both their SAN and backup issues.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Beginner's guide to SSL certificates
De-mystify the technology involved and give you the information you need to make the best decision when considering your online security options.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.