Business Tech

Read all 'RIA' posts in Business Tech
December 3, 2008 10:26 PM PST

With JavaFX, Sun seeks new coders, new revenue

by Stephen Shankland
  • 25 comments

With a back-to-the-future technology called JavaFX to be launched Thursday, Sun Microsystems hopes to attract a new class of developer while building a much-needed new revenue source.

JavaFX 1.0 returns to the sales pitch that Sun used during Java's launch more than 13 years ago: a foundation for software on a wide variety of computing "clients" such as desktop computers or mobile phones. JavaFX builds on current Java technology but adds two major pieces.

Sun CEO Jonathan Schwartz

Sun CEO Jonathan Schwartz

(Credit: Stephen Shankland/CNET Networks)

First is a new software foundation designed to run so-called rich Internet applications--network-enabled programs with lush user interfaces. Second is a new programming language called JavaFX Script that's intended to be easier to use than traditional Java.

But JavaFX faces some steep challenges. Chief among them: while Sun spent much of its energy adapting Java for servers, a host of other software options for building rich Internet applications sprang up. Java paved the way in 1995, but now it's got to take on Adobe Systems' Flash and AIR, Microsoft's newer arrival, Silverlight, and JavaScript and its more sophisticated cousin Ajax.

"This is the essence of the Hail Mary," said Illuminata analyst Jonathan Eunice. "I would like to think there's a role for Java on the client, but it's very late."

But Chief Executive Jonathan Schwartz, despite Sun's dropping revenue, low stock price, and large new layoff, believes that JavaFX will overcome its obstacles.

"Don't confuse relevance for stock price," he said, pointing to Java's widespread adoption among developers and students, and to Sun's expansion into newer open-source areas such as the MySQL database software. "We're more relevant today than any other software developer on the face of the Earth."

And while JavaFX may not be widely discussed today as a rich Internet application foundation, "I promise you that will change in the next 60 to 90 days," Schwartz said.

Java's stronghold
With help from allies such as IBM, Sun built Java into a powerful technology for server software tasks such as running stock-trading applications. And it gained a stronghold on millions of mobile phones.

But it missed out on desktop computers, where it was notoriously slow to load, and lost out chiefly to JavaScript built into the browser and to Adobe's Flash plug-in. On mobile phones, Java has suffered from a sprawling set of optional features that undermine its "write once, run anywhere" promise to developers. Different phones essentially have different varieties of Java.

JavaFX is designed to address both of those issues. First, a more unified "runtime" foundation spans PCs and mobile phones, though the latter version isn't expected until the first half of 2009. And this time, Sun supplies it in an unmodified form so phone manufacturers won't splinter it into incompatible versions.

Sun is promoting JavaFX as a good way to write rich Internet applications.

Sun is promoting JavaFX as a good way to write rich Internet applications. (Click to enlarge.)

(Credit: Sun Microsystems)

"We're making our binaries available" to mobile-phone makers "so we can unify the Java platform implementations," said Schwartz, who expects rapid adoption. "We're starting with a couple billion handsets in the marketplace and swimming downstream."

The business case
Sun also will charge those handset makers a per-unit royalty for JavaFX, and right now, Sun needs all the revenue it can get. Although Java has been good for Sun's brand, it hasn't been a cash cow, but here again, Schwartz has high expectations.

"Java has become the single most profitable software product at Sun, growing more rapidly than any other," he said, pointing to billings (PDF) that Sun charged customers in the company's most recent quarter.

In raw revenue, though, its 18 percent growth to $34 million lagged that of MySQL, for which billings grew 50 percent annually to $37 million. And Sun's hardware revenue still is an order of magnitude larger than its software revenue.

Schwartz also believes that JavaFX has more appeal to content providers because it comes from a neutral technology supplier, not a potential rival.

"The problem with browsers, when viewed as the default mechanism for delivering content for the Web, is that browsers have become hostile territory," Schwartz argued. "Internet Explorer is owned by Microsoft. Firefox is owned by Google, at this point. Chrome is owned by Google. Beyond that, with maybe (the exception) of Safari, which is owned by Apple, there is no safe route to distribute your content into the marketplace."

Perhaps JavaFX's open-source nature reduces the threat that Sun could hold a business partner hostage. But when it comes to safety, there also are risks to betting on new technology.

Distributing JavaFX is another challenge. The auto-update feature in desktop Java will take care of PCs, starting next year--though people will be able to actively download it sooner in coming days--but for mobile phones, Sun relies on handset makers and electronics companies such as TV makers to build it in.

EZ coding
JavaFX is designed to be easier to use too. The JavaFX Script origins lie in a project originally called F3, short for the "form follows function" slogan from the Bauhaus school of architectural thought.

"You can use Java to solve difficult problems," but doing so often requires sophisticated programming, said Eric Klein, Sun's vice president of Java marketing. And regular Java isn't well-adapted to creating basic, media-rich applications that run in browsers. Building a simple media player application in Java takes 100 lines of code, but JavaFX Script can do it in 20 or 30 lines, he said.

"The goal was to make (the) power of Java accessible to an entirely new class of developers," Klein said. "For existing developers, it would accelerate how fast they could get things done."

JavaFX also comes with a slick feature, the ability to move running applications out of the browser and onto the desktop--and back, if desired. Essentially, they can change their nature and abilities according to where they're housed. And the same application also can run on JavaFX Mobile, holding the promise for programmers that they won't have to endlessly rewrite the same applications for different media.

"You can build a media player, run it in a browser, then you can simply drag it out of your browser onto your desktop, and it becomes a desktop application automatically. It's the same code, the same application," said Jeet Kaul, Sun's senior vice president of Java engineering.

Moving to the desktop, the application could take advantage of new screen real estate that affords a better user interface and new permissions for tasks such as writing files to a hard drive, Kaul said.

Again, though, incumbent players have an edge. JavaScript has matured as an interface language, Flash has many loyal developer fans, and Silverlight is powerful, Eunice said.

"I'm invariably skeptical that a language you don't know yet is going to be easier than all the languages you do know," Eunice said. And unlike with earlier chapters of the Java saga, "Sun has to do all this heavy lifting on its own."

August 11, 2008 4:00 AM PDT

Flash, HTML, Ajax: Which will win the Web app war?

by Stephen Shankland
  • 43 comments

The days when Web pages were static collections of text and graphics are long past. But as the Web matures, there's a fierce competition over which technology will propel it into a medium for rich, interactive applications.

On one side of the battle lines is the original Web page description technology called HTML, or Hypertext Markup Language. Over the years, its abilities were augmented first with JavaScript, a basic programming language, and later a JavaScript-on-steroids technology called Ajax.

On the other side is Adobe Systems' Flash, which got its start as a method for graphic animations. It's grown into a much more powerful programming foundation over the years and has been joined more recently by a competitor: Microsoft's Silverlight.

All these technologies are advancing rapidly as Internet start-ups and giants such as Google race to transform personal computer software into services available on the Internet. These so-called rich Internet applications rarely match the performance and features of PC-based applications, at least today, but online applications can benefit from sharing, reliability, and access from multiple devices.

Kevin Hoyt, an Adobe Systems technology evangelist, believes Flash, HTML, JavaScript will coexist--but change rapidly.

Kevin Hoyt, an Adobe Systems technology evangelist, believes Flash, HTML, JavaScript will coexist--but change rapidly.

(Credit: Adobe)

Consumers typically need not worry much about the programming plumbing beneath their online applications. But suppose you're the person on the hook for your company's online expense reporting tool or a start-up planning to build an online music mixer for anyone on the Internet. You'll have to place a bet on which technology is best and which programmers to hire or train.

Few expect the competition to have a winner any time soon.

"You'll continue to see a high degree of flux for probably the next several years," said Kevin Hoyt, an Adobe Systems technology evangelist for rich Internet applications.

People in the computer industry love to talk about competition, which indeed often does keep companies from growing complacent. But it's also awfully convenient when some foundational technology--Windows, JPEG, and USB spring to mind--dominates to the point where most engineers need not worry much about the messy chaos of multiple choices.

The HTML camp
The HTML side of the battle has its roots in industry standards and in the task of displaying information. That's good and bad.

Industry standards can attract broad adoption, but they're typically slow to arrive. And though both JavaScript and HTML are standards, differences in how they're implemented in different browsers--and even different versions of the same browser--force programmers to accommodate all the possibilities.

Unlike during the browser wars of the 1990s, though, there's more convergence than divergence these days. Even the upcoming version 8 of the dominant browser, Microsoft's Internet Explorer, will ship in a standards-compliant mode by default.

... Read more

July 31, 2008 5:21 PM PDT

Sun throws JavaFX hat into Web app ring

by Stephen Shankland
  • 4 comments

Sun Microsystems on Thursday released a preview version of JavaFX, programming technology the company hopes will be the foundation of splashy, whiz-bang Internet applications.

Sun is promoting JavaFX as a good way to write rich Internet applications.

Sun is promoting JavaFX as a good way to write rich Internet applications. (Click to enlarge.)

(Credit: Sun Microsystems)

JavaFX, like its Java progenitor, includes both software to execute programs and a programming language used to write those programs--JavaFX Script for the new technology.

Java has a strong brand in programming circles, but the technology caught on chiefly for use on servers and mobile phones. Sun is trying to go full circle with JavaFX, billing the software as a way to run software on desktop PCs. The software includes support for 2D and 3D graphics, audio and video, and animation.

But JavaFX has an uphill battle. Adobe Systems' Flash is widely used, Microsoft's relatively new Silverlight is headed toward its second, more versatile version, and ordinary HTML Web pages augmented with JavaScript has proven useful for many rich Internet applications that don't require a lot of pizzazz.

The JavaFX developer tools, it should be noted, come with Project Nile, a tool to export content from Adobe Photoshop and Illustrator, a hand-off that could help the technology match Adobe's more unified suite of products.

The final release of JavaFX for desktop computers is due in the fall, and Sun plans to release the first version of JavaFX for mobile devices in spring 2009, the company said.

  • prev
  • 1
  • next
advertisement

15 sites that went kaput in 2009

Web sites launch all the time, but they also shut their doors. We highlight 15 that bit the dust this year.

Top 10 news stories of the decade

Let the debate begin: Was the iPhone more important than iTunes? Was anything bigger than Google finding a great business model? CNET offers its list of the 10 most important stories of the '00s.

About Business Tech

Your destination for the latest news on enterprise-level information technology, from chip research and server design to software issues including programming, open source and patents.

Add this feed to your online news reader

Business Tech topics

Most Discussed



advertisement

Inside CNET News

Scroll Left Scroll Right