Sun outlines plans for Java

Daily Newsletters

Sign up to ZDNet UK's daily newsletter.

NEWS

Sun on Tuesday plans to introduce a friendlier way to write Java applications for consumer devices, an attempt to derive more profit from Java and stake a greater claim in the next generation of web applications.

At the JavaOne Conference in San Francisco, Sun's executive vice president of software, Rich Green, is expected to unveil JavaFX Script, a simpler scripting language for writing applications on Java-equipped desktop PCs and handheld devices.

To address compatibility problems with mobile phones, Green is scheduled to detail JavaFX Mobile, a package aimed at mobile-handset makers, designed to make Java applications more portable across mobile phones.

Sun executives also plan to release the last portions of Java which it said it would open-source and outline the governance model for open-source projects around Java.

Sentry Posts Blog

Sentry Posts Blog
Guarding the network

What you need to know — and what you and your peers have to tell us — about security management in our new community group blog

Read more +

With JavaFX Script, Sun is trying to revive the use of Java on small devices, like set-top boxes, and in PC web browsers, which the language was originally designed to do in the 1990s.

"This is Java for consumers, for individuals — not just enterprises, not just corporate. But experiences [which] people, at an individual level, want to experience will be powered by Java," said Green. "The scripting language we are releasing will dramatically enhance the number of people who can create content for this platform."

JavaFX Script is a scripting language that's designed to be more productive and easier than Java, but also closely integrated with it. Developers can use JavaFX Script and write applications that run on Java-equipped PCs or mobile phones.

With it, Sun intends to broaden the audience of people writing Java-compatible applications and capitalise on growing interest in so-called rich internet applications, or web-connected programs with an interactive user interface.

In the process, Sun intends to "attack" the notion that it is being outpaced in the field of rich internet applications, Green said. Microsoft, Adobe and a handful of smaller firms have been more prominent in discussions over these interactive, net-connected applications than Java vendors, said RedMonk analyst Stephen O'Grady.

Sun intends to release the source code of JavaFX Script and to let other companies create web-authoring tools using it. Sun, too, intends to create scripting tools for content authoring, Green said.

Java's sweet spot?
As web developers create more sophisticated online applications, from media distribution sites to desktop-style programs, the rich internet application area has become one of the hottest in software development.

Ajax-style programming, a technique that often relies on the scripting language JavaScript, has become popular for creating the user interface for many websites, such as mapping services or Web 2.0 social-networking applications.

Adobe is investing heavily in its Flash Player, which is widely used for media-rich user interface development, and in its associated Flex development tool.

Microsoft made a forceful entrance into the rich internet application field last week with the beta release of its Silverlight browser plug-in and suite of development tools. In addition, a handful of smaller companies, including Laszlo Systems and Nexaweb, specialise in programs for creating these rich internet applications.

Java has a rich "ecosystem" of products and vendors but its use for front-end design has been stymied by compatibility and performance problems, said Richard Monson-Haefel, an analyst at the Burton Group.

"It should be the sweet spot for Java. It's kind of tragic that Sun screwed up so badly with the applet performance and browser incompatibility in the late 1990s," he said. "JavaFX Script has an opportunity to redeem themselves."

Mobile uniformity
There are already 5 million programmers who work with Java Platform, Standard Edition (Java SE) for building Java programs on desktops, according to Sun. A scaled-down version of Java, called Java Platform, Mobile Edition (Java ME), is already installed on two billion phones worldwide, said Green.

Yet, despite its broad reach on consumer devices, Java has made an equally large mark on server software makers, where Java-based back-end software has generated billions of dollars for IBM, Oracle, BEA Systems, Sun and others.

With JavaFX Script and JavaFX Mobile, Sun and other Java licensees will have a much more attractive offering for rich internet applications, Monson-Haefel said.

Scripting, or dynamic, languages have become more popular for mainstream application development, particularly on the web in the past two years. Many website builders or corporate developers have chosen scripting languages as a lightweight alternative to Java or Microsoft's .Net.

The advantage Java-connected scripting language has over others, such as Ruby, PHP or Python, is that Java programmers can easily transfer their skills and knowledge. Moving from Java to another language like JavaScript, which is often used for Ajax applications, "is like moving to another foreign land," Monson-Haefel said.

Applications written with JavaFX Script can run on the Java Runtime Environment, software that's installed on millions of PCs and regularly updated. Like Adobe's Apollo, developers can use the same tools to write web browser-based applications or cross-platform desktop applications, Green said.

The JavaFX Mobile is technology that Sun gained through the acquisition of the intellectual property assets of SavaJe, a start-up that created software for writing uniform applications on Java phones.

Although installed widely, differences in Java ME implementations cause compatibility problems. The JavaFX Mobile software, aimed at operators and phone-handset makers, will smooth over those differences and provide a set of phone applications for common tasks, Green said.

"This is the realisation of Java SE spanning all consumer devices and fulfilling the mantra of 'write once, run anywhere'," Green said. "We really had to take a step back and take a fresh view of how to achieve this broad access to the platform for developers."

RedMonk's O'Grady said the introduction of a Java-linked scripting language won't necessarily cause people to switch from Ruby, Python or PHP. Rather, JavaFX Script will appeal mostly to people who already work with Java.

"It's going to be very, very difficult if you're going to try to lure people from technology that is already working for them," he said. "None [of these technologies] goes away. The question is: how do they get along better and how do you bring [the] strength of the respective platforms to others?"

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

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

1 hour 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...

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

9 hours 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...

9 hours 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...

11 hours 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...

11 hours 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...

12 hours 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...

13 hours 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...

13 hours 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...

14 hours ago by Moley on A tale of two distros: Ubuntu and Linux Mint
ramwellian

Your comments would seem pretty naive and immature. Your 'solution' appears to be, "gee, let's all just give in to the hackers and give them...

14 hours ago by ramwellian on Cloud computing security: no more oxymoron?
BugStalker

"Interesting thought ... If you installed Win7 as a dual boot on a machine that previously only had Linux, and it wrecked your Linux installation,...

14 hours ago by BugStalker on Windows 7 Declares War on GRUB
whs001

This is an excellent summary of Ubuntu and Mint and the interface differences between them. Most such articles take a very partisan position for...

14 hours ago by whs001 on A tale of two distros: Ubuntu and Linux Mint
Moley

@ewallace. Not so clear. Anyone can obtain the text, for example from here http://www.ustr.gov/webfm_send/2379. I support ACTA so long as it and...

14 hours ago by Moley on ACTA: Facts, misconceptions and questions
45283

I think WinRT is fantastic. I just wish it was an option for people that didn't want to go through Microsoft's App Store with its attendant...

18 hours ago by 45283 on Why Windows 8 needs architectural hygiene for WOA
Burn-IT

Nine people? £30m? Who's back pocket is that lot going in? And IF they say it is for new buildings, what about all the ones the government has...

19 hours ago by Burn-IT on Police set to launch three £30m e-crime hubs
ewallace

Just to be clear, nobody knows what is in the text of ACTA, here is a photograph of the text of ACTA http://twitpic.com/8h9iju as submitted to the...

19 hours ago by ewallace on ACTA: Facts, misconceptions and questions
fgvrg56

Unfortunately main issue is that ASUS is refusing to accept that they make some mistake on this version of asus Transformer prime. 1 - GPS sensor...

20 hours ago by fgvrg56 on Asus Eee Pad Transformer Prime Wi-Fi & GPS problems?
Ben Woods

@Marcus A fair question. Just talked with Archos which said it was working on an announcement for next week....

21 hours ago by Ben Woods on Archos confirms G9 Ice Cream Sandwich update schedule
Marcus Karlsson

Any update on this, considering the claimed "first week of February"?

22 hours ago by Marcus Karlsson via Facebook on Archos confirms G9 Ice Cream Sandwich update schedule