Webware

Read all 'JavaFX' posts in Webware
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."

Originally posted at Business Tech
October 19, 2007 11:50 AM PDT

Sun starts bidding adieu to mobile-specific Java

by Stephen Shankland
  • 2 comments

SAN FRANCISCO--One area where Sun Microsystems' Java caught on was in mobile phones, but a leader of the project is working to eventually replace the mobile-specific version of the software.

James Gosling

Sun Vice President James Gosling speaks in May at the JavaOne conference in San Francisco.

(Credit: James Martin/CNET News.com)

Java Standard Edition (SE), geared for desktop computers, will gradually supplant Java Micro Edition (ME) as technology improvements let more computing power be packed into smaller devices, said James Gosling, the Sun vice president often called the father of Java.

"We're trying to converge everything to the Java SE specification. Cell phones and TV set-top boxes are growing up," Gosling said at a Java media event here Wednesday. "That convergence is going to take years."

The prime example of the trend is Sun's own JavaFX Mobile, software Sun got through its SavaJe acquisition and which the company hopes mobile phone makers will embrace. JavaFX Mobile includes almost all of Java SE, though it's missing a few pieces such as CORBA (brace yourself: Common Object Request Broker Architecture) for getting software to work with other programs across a network.

Sun's Java expectation dovetails with recent trends, most notably Apple's iPhone, which architecturally is much more an Apple computer writ small than a mobile phone writ large. In particular, Apple uses a version of its regular Safari Web browser so users will have as much of the desktop Internet experience as possible.

At the same time, Intel is working to bring x86 processors that run PCs into mobile gadgets. It's in cohoots with open-source efforts including Ubuntu Mobile and Mobile Firefox .

The move to Java SE won't happen overnight. Rich Green, Sun's executive vide president of software, said he expects smart phones using various pared-down versions of Java to stay in the market for at least a decade.

But the shift already was under way. "All the work in Java ME had been pushing it closer and closer to Java SE," Gosling said.

Defragmenting mobile Java
Moving to Java SE could help fix one nagging problem with Java ME: fragmentation.

Java ME is a collection of abilities--basic ones and higher-level options layered on top--each defined by a detailed description called a Java specification request. For Java ME, there are a large number of these JSRs for various features. That posed a challenge to Java's original tagline, "write once, run anywhere."

The tagline came about because a program written in Java could in principle run on any computer that had a Java virtual machine. The JVM is a software foundation that lets a generic Java program run on a particular computer. But with the multiplicity of Java ME extensions, there was often little guarantee that a program written for one mobile phone would work on another.

Java SE has a much richer basic set of abilities, so using it instead of Java ME could at least in principle restore some of Java's promise of software portability.

JavaFX mobile is one component of a multipronged effort called JavaFX that Sun announced in May at its JavaOne conference.

"JavaFX is probably the largest and most complex software engineering effort Sun has ever done," Gosling said. Here's a quick tour of the JavaFX components:

Tour de Java FX jargon
Unless you're a serious Java nerd, and maybe even if you are, Sun's latest nomenclature is a crazy hodge-podge of terms. Java SE--OK, that's been around for nearly a decade, we can handle it. Though there was some numbering madness a few years ago, Sun seems to have settled on the current version being Java SE 6. But let's work outward from there.

First comes Java 6 Update N, formerly called the Consumer Java Runtime Environment (JRE). This is an attempt to make Java SE easier on the average computer user, chiefly through improvements to the plug-in that Web browsers use to deal with Web pages using Java.

Among the Update N features: It preloads Java when the computer boots to avoid the excruciating delay when you encounter a Java Web page. It installs faster by loading only a bare-minimum kernel--typically less than 4MB--that gets things started and then updates itself with the full 12MB Java software collection. It takes advantage of Windows' Direct3D graphics abilities. And it includes a more graphically modern user interface that gives a unified look across multiple operating system.

Update N should go into beta testing in December and be available a few months later, said Chet Haase, Sun's Java SE client architect.

Atop Update N comes JavaFX Script. This is a new scripting language geared specifically for fancy user interface actions such as transparency and other effects that are difficult with the prevailing Web browser scripting language, JavaScript (which contrary to what its name may imply isn't based on Java). JavaFX Script is geared toward use more by design types than engineers, Gosling said.

Of course, you can't have a script without something to understand it. Thus there's JavaFX compiler to translate people's code into instructions the computer can execute.

Last is the aforementioned Java FX Mobile. This software is in part a reaction to gripes by Java ME developers who wanted a more unified foundation, Gosling said. Another difference compared to Java ME is that Sun will deliver it as a prewritten binary program; Java ME typically comes as source code that programmers must compile into something useful.

Potshots at the competition
Gosling and Java have been at the vanguard of an idea that in a way is just coming back into vogue: rich Internet applications, which is software that runs in a Web browser but comes with a lot more pizzazz and capability than bland Web pages.

Java caught on as a way to run server software and to run games on mobile phones, but one original promise of Java was turning a Web browser into a foundation for sophisticated software. (If you're having flashbacks to Netscape taking on Microsoft Windows and the resulting federal antitrust case, just breathe deeply for a moment to settle down.)

But much of the rich Internet application action is happening with software such as Ajax, the Adobe Integrated Runtime (nee Apollo) and Microsoft's Silverlight and Google Gears.

Gosling thinks JavaFX has a chance, too, though, listing several advantages he believes it has: a richer user interface, faster performance, a robust and well accepted language and better abilities when a computer is disconnected from a network.

And security, he adds. Adobe's AIR is designed to let programs work like regular PC software, but Gosling thinks the approach unwise. "It's a petri dish for viruses. Security is really hard to implement well."

Originally posted at Underexposed
May 15, 2007 11:27 PM PDT

Talking up Silverlight on the Real Deal podcast

by Rafe Needleman
  • Post a comment

This week in the Rafe & Tom Real Deal podcast: Silverlight. Real Deal fans sent some interesting and technical questions about the platform ahead of time, which Tom had good answers for. Check out the podcast here:

>>> Listen now <<<

Next Tuesday, we'll be discussing live streaming, and of course, we'll live-stream the recording session, at 3 p.m. Pacific Time next Tuesday. More details to come.

If you want to join the discussion ahead of time, head on over to the Real Deal forums or post a question here.

May 11, 2007 12:19 PM PDT

Fancy Java in action: Iris photo editing

by Stephen Shankland
  • 2 comments

SAN FRANCISCO--Sun Microsystems is trying to make the case at this year's JavaOne conference that its Java software is good for snazzy and elaborate desktop software. To give a taste for this concept, Sun showed off a Flickr-based photo editing site it calls Iris.

Sun's Iris service gives a Java interface to Flickr.

(Credit: Sun Microsystems)

Iris--though either pokey or unable to handle the collective attention of the thousands of JavaOne attendees--lets Flickr members view their photos and perform a variety of editing tasks such as cropping, rotating, sharpening and blurring. Each image is shown with a histogram that represents the distribution of light and dark tones in the photo.

The site also enables users to e-mail slide shows to others. The slide show takes the form of a downloaded Java application. Hint: if you can't figure out how to stop the slide show, wave your pointer over the lower center part of the screen and some clickable buttons appear.

I'm glad people are working on fancier interfaces to Flickr, and Java is a good way to do it. I have a powerful aversion to installing new software on my computer, being unwilling to load up the Windows registry with ever more cruft. But Java is a nice way to use software that doesn't degrade your performance when you're not using it. I also recommend a Firefox plug-in called Fotofox that works with several image-sharing sites.

Iris' editing features worked on Thursday but were in limbo Friday, however. For a slicker and equally nonfunctional interface, it's worth looking at the Flash-based mockup of Adobe Lightroom.

(Via Gordon Haff and John Nack.)

Originally posted at News Blog
May 9, 2007 5:11 PM PDT

Co-creator of Java talks up JavaFX

by Rafe Needleman
  • Post a comment

At JavaOne, Sun's James Gosling talked with CNET News.com's Stephen Shankland about the new application platform, JavaFX. Gosling talks a bit about how JavaFX will compare to Adobe's Flash and Microsoft's Silverlight.

See News.com for more on JavaFX

If you're a Web user wondering what to do about this three-way race, here's my advice: don't worry about it, but do prepare to be impressed. The competition among these three powerhouses is going to make for fantastic new apps, as the platform vendors struggle to one-up each other by building their most reliable, leanest, flexible, and fastest platforms for developers. This is about the best thing that can happen for us.

  • prev
  • 1
  • next
advertisement

About Webware

Say No to boxed software! The future of applications is online delivery and access. Software is passé. Webware is the new way to get things done.

Add this feed to your online news reader

Webware topics

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.

Most Discussed

Inside CNET News

Scroll Left Scroll Right