Feeds

Google gears Java 5 Web Toolkit

CSS shrinkage on roadmap

5 things you didn’t know about cloud backup

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.®

Secure remote control for conventional and virtual desktops

More from The Register

next story
Why has the web gone to hell? Market chaos and HUMAN NATURE
Tim Berners-Lee isn't happy, but we should be
Apple promises to lift Curse of the Drained iPhone 5 Battery
Have you tried turning it off and...? Never mind, here's a replacement
Microsoft boots 1,500 dodgy apps from the Windows Store
DEVELOPERS! DEVELOPERS! DEVELOPERS! Naughty, misleading developers!
Eat up Martha! Microsoft slings handwriting recog into OneNote on Android
Freehand input on non-Windows kit for the first time
Linux turns 23 and Linus Torvalds celebrates as only he can
No, not with swearing, but by controlling the release cycle
This is how I set about making a fortune with my own startup
Would you leave your well-paid job to chase your dream?
(Not so) Instagram now: Time-shifting Hyperlapse iPhone tool unleashed
Photos app now able to shoot fast-moving videos
prev story

Whitepapers

A new approach to endpoint data protection
What is the best way to ensure comprehensive visibility, management, and control of information on both company-owned and employee-owned devices?
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Maximize storage efficiency across the enterprise
The HP StoreOnce backup solution offers highly flexible, centrally managed, and highly efficient data protection for any enterprise.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Next gen security for virtualised datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.