• On TechRepublic: 10 most annoying default configurations
May 27, 2008 4:50 PM PDT

Google modernizes Web software tool

by Stephen Shankland

Google plans to release later this week a near-final version of the Google Web Toolkit 1.5, software designed to ease the onerous parts of writing sophisticated Web-based software.

GWT 1.5 includes support for Java 5, a version of the Sun Microsystems programming language released in 2006, and produces software that runs about 1.2 to 2 times faster for complex Web applications, said Bruce Johnson, Google's engineering manager for GWT.

The new software fuels Google's ambition to make the Web a much richer software environment--an ambition on display Wednesday and Thursday at the Google I/O conference in San Francisco. Johnson believes the Web is already "really close" to the abilities of personal computers as a software foundation.

"We've observed that there's no question anymore whether you're going to target the browser or a desktop app. For almost any new exciting app, you're going to target the browser," Johnson said. "For the right set of applications, it's already better than what you can do on the desktop. For extremely low-latency applications, like video editing, I think we're still a couple years out."

Google is trying to shift people toward the Web, hoping to profit indirectly by spurring more Internet searches, its main source of revenue. It's also got some direct but much smaller businesses, including subscription fees for corporate use of online Google Apps such as its spreadsheet and calendar. Also at Google I/O, the company is revealing the fees for heavy users of its new Google App Engine service to host Web applications.

App Engine, which was unveiled in April and now has about 60,000 approved users, is free for starter applications requiring 500MB of storage and network bandwidth to support about 5 million page views a month, Google said. On Wednesday, the service will be open to the 150,000 who've signed up so far and to any others who want to join.

Beyond that, Google will charge 10 to 12 cents per hour of processor core work, plus 15 to 18 cents per gigabyte of storage per month, plus 11 to 13 cents per gigabyte of data transferred out, plus 9 to 11 cents per gigabyte of data transferred in. The fees are similar in broad structure to that of a competing service from Amazon.

GWT: Doing the grunt work
GWT lets programmers write their code in Java, but then converts that raw material into the JavaScript language that's built into Web browsers. One advantage of GWT is that it can handle the significant differences in how different browsers handle JavaScript, Google argues.

"Not all the JavaScript standards are interpreted in different ways," Johnson said. "The truth is it's a minefield."

GWT supports most modern browsers, including recent versions of Internet Explorer, Firefox, Safari (and other Webkit-based browsers such as that of the iPhone and Google Android), and Opera.

Sun introduced more changes to Java with the current Java 6, but it was Java 5 that introduced several changes to the language. Among them (brace yourself if you're not a coder): generics, enumerated types, annotations, enhanced for/loop syntax, and autoboxing.

Supporting those newer features makes GWT less different from other Java programming environments, cuts down on opportunities for programmer mistakes, and can help GWT produce faster JavaScript, Johnson said.

GWT uses the Eclipse project's JDT to understand people's Java code, then adds a Google-engineered component that translates it into JavaScript, Johnson said.

It's open-source software, and "We get dozens and dozens of patches" from outside contributors. Among those in the current release is support for right-to-left languages such as Arabic.

Stephen Shankland writes about a wide range of technology and products, but has a particular focus on browsers and digital photography. He joined CNET News in 1998 and since then also has covered Google, Yahoo, servers, supercomputing, Linux and open-source software, and science. E-mail Stephen, or follow him on Twitter at http://www.twitter.com/stshank.
advertisement
Click here!
Recent posts from News Blog
Neil Young Archives Blu-ray: Rip off?
Acronis revises survey results about backup habits
Acronis miscalculates data on users' bad backup habits
Flickr co-founder presses beta button
Comcast, Sony open retail store
Cox to try coaxing the Internet into submission
Was InfoWorld's CTO of the Year award a year late?
VMWare VI4 renamed to vSphere
Add a Comment (Log in or register)
by benjaminstraight July 24, 2008 3:55 AM PDT
Good that it includes Java support. Go Google!
Reply to this comment
by benjaminstraight July 24, 2008 3:37 PM PDT
Much needed Java support. Awesome.
Reply to this comment

Making sense of Windows 7 upgrades

faq The basics and the fine print on Microsoft's options for those eyeing the next operating system from Redmond.
• Full Windows 7 coverage

Road Trip 2009: Big Sky Country

CNET News reporter Daniel Terdiman takes his car full of gadgets to the Rockies and the Great Plains in search of tech, science, nature, and more.
• America's Fortress: Cheyenne Mountain

About News Blog

Recent posts on technology, trends, and more.

Add this feed to your online news reader

advertisement
advertisement

Inside CNET News

Scroll Left Scroll Right