Sun seeks new coders, revenue via JavaFX

Daily Newsletters

Sign up to ZDNet UK's daily newsletter.

ANALYSIS

With JavaFX to be launched on Thursday, Sun 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.

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 has to take on Adobe's 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 Illuninata 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 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 Java FX may not be widely discussed today as a rich internet application foundation, "I promise you that will change in 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. And 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 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.

"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 [of] 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. Though 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 that Sun charged customers in the company's most recent quarter. In raw revenue, however, its 18 percent growth to $34m lagged that of MySQL, for which billings grew 50 percent annually to $37m (£23m). And Sun's hardware revenue still is an order of magnitude larger than its software revenue.

Schwartz also believes 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."

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 involved with 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," said Eric Klein, Sun's vice president of Java marketing, but doing so often requires sophisticated programming. 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, he said.

"The goal was to make 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 the Java FX 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, he 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 sceptical 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".

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

Freebies202

Duplicate comments are not made intentionally. Its very good to know that now you are keeping check on this problem because sometimes a commenter...

1 hour ago by Freebies202 on Microsoft fixes blog comments, speeds up blogs with open source
kevinmchapman

"the very significant number of users" and "many (most) of us" - you have no evidence for these statements. It is a fact that most users are saying...

9 hours ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
Marg Menzies Harrison

Another grammar faux pas is the improper use of "you". When sitting down down in a restaurant, for example, I get cringe when the waitress...

11 hours ago by Marg Menzies Harrison via Facebook on 10 flagrant grammar mistakes that make you look stupid
zdnetukuser

And NOW, folks, for Canonical's next trick... Kubuntu is late. Here's a pencil. Draw your own conclusions. cf.:...

11 hours ago by zdnetukuser on Linux Minterface
Moley

@kevinmchapman. The discussion here reflects the very significant number of users who really do like the traditional menu system and who wish to...

13 hours ago by Moley on A tale of two distros: Ubuntu and Linux Mint
kevinmchapman

Er, no... It is an efficient means of finding the application/file/setting you need in one place. The icons are a simply a fallback for when you...

15 hours ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
TerryRK

Isn't the provision of a text based search an admission by the developers that the mass of icons approach does not work? I don't need to use a...

16 hours ago by TerryRK on A tale of two distros: Ubuntu and Linux Mint
kevinmchapman

"Unity and GNOME 3 both abandon the old text-based cascading menus in favour of a graphical icon-driven system." Point truly missed. Both use a...

17 hours ago by kevinmchapman on A tale of two distros: Ubuntu and Linux Mint
TerryRK

whs001 - Thank you, I'm glad you liked the article. I absolutely agree with you on your first point. I should perhaps have made it clearer that...

17 hours ago by TerryRK on A tale of two distros: Ubuntu and Linux Mint
Dennis Nilsson

If we allow corporate interest to dictate the way our government circumvents due process against foreign entities then we should accept the same...

18 hours ago by Dennis Nilsson via Facebook on ACTA stumbles in Germany
GHar123

I totally dislike pirating of works, I fear that artists will be deterred from creating works if they think that they are going to get ripped off....

19 hours ago by GHar123 on ACTA stumbles in Germany
JCB33

How dare film makers, artists or anybody that invests in creativity stop us pirating their works for free. I want to be able to walk into my local...

1 day ago by JCB33 on ACTA stumbles in Germany
Moley

@GrueMaster. I prefer horses for courses rather than one size fits all. I, and I suspect most other computer users, do not really wish to have...

1 day ago by Moley on A tale of two distros: Ubuntu and Linux Mint
greycynic

The product that scares me every time I have to use it is the Office 2007 version of Excel. The first bug that I found was applying the median...

1 day ago by greycynic on Ten flawed products that derail productivity
GrueMaster

Nice review and very informative. One thing I'd like to add (in reply to whs001's 1st question), the main reason to have the same interface from...

1 day ago by GrueMaster on A tale of two distros: Ubuntu and Linux Mint
Frederick Wrigley

I'be been using Mint 12 since the RC came out, and I am far more happy with the Cinnamon, the Mate, and, yes (with extensions), theGnome 3...

1 day ago by Frederick Wrigley via Facebook on A tale of two distros: Ubuntu and Linux Mint
bdantas

Excellent article. One small correction, though--although a fresh installation of Linux Mint 12 will, indeed, provide the user with a version of...

1 day ago by bdantas on A tale of two distros: Ubuntu and Linux Mint
Alan Ralph

In related news, the ISPs club together to get the members of the Home Affairs Select Committee (ya goofed on that part, ZDNet UK) copies of "The...

1 day ago by Alan Ralph via Facebook on MPs urge ISPs to take down terrorist material
Alan Ralph

In related news, the ISPs club together to get the members of the Home Affairs Select Committee (ya goofed on that part, ZDNet UK) copies of "The...

1 day ago by Alan Ralph via Facebook on MPs urge ISPs to take down terrorist material
Moley

For Gnome 2 die-hards, it is possible to add icons to the bottom panel (or top top panel, if you prefer) which provide the exact Gnome 2...

1 day ago by Moley on A tale of two distros: Ubuntu and Linux Mint