Feeds

Google gears Java 5 Web Toolkit

CSS shrinkage on roadmap

Reducing security risks from open source software

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

The Power of One eBook: Top reasons to choose HP BladeSystem

More from The Register

next story
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
Captain Kirk sets phaser to SLAUGHTER after trying new Facebook app
William Shatner less-than-impressed by Zuck's celebrity-only app
Apple fanbois SCREAM as update BRICKS their Macbook Airs
Ragegasm spills over as firmware upgrade kills machines
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
Mozilla fixes CRITICAL security holes in Firefox, urges v31 upgrade
Misc memory hazards 'could be exploited' - and guess what, one's a Javascript vuln
Put down that Oracle database patch: It could cost $23,000 per CPU
On-by-default INMEMORY tech a boon for developers ... as long as they can afford it
Google shows off new Chrome OS look
Athena springs full-grown from Chromium project's head
prev story

Whitepapers

Top three mobile application threats
Prevent sensitive data leakage over insecure channels or stolen mobile 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.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.