Free Newsletters
Technology & Business Daily

InfoWorld
Log-in | Register

Sun's JavaFX to take on AJAX, Silverlight

JavaFX, which covers Java development in desktops and mobile devices as well as online, is Sun's latest push into the rich Internet apps world


Sun will detail a plan Tuesday that could make Java a formidable player in the scripting language space.

At the JavaOne conference in San Francisco, Sun will roll out a Java-based product family called JavaFX, which covers Java development from the desktop to the Web to mobile devices. It features a new scripting variant of the Java, called JavaFX Script. JavaFX is a line of products focused on opportunities in the consumer communications market, including desktops, mobile clients, and TVs. The first product release is JavaFX Mobile, a software system for mobile devices.

"JavaFX is a complete software system from the metal on up," said Rich Green, Sun executive vice president of software.

JavaFX Script centers on content creation and leverages the high-volume distribution of Java, Green said. "JavaFX Script is a scripting language focused on the content-authoring and content creation crowd. It is a means of creating visually impactful, high-performance, dramatic Web and network-facing artifacts or experiences that run all the way from the desktop running Java SE (Standard Edition) all the way down to mobile devices powered by JavaFX Mobile."

While most scripting languages are oriented to building out Web pages, JavaFX Script focuses on user experiences on the interface and particularly on things that are highly animated, Green said.

"It's not a procedural language in the usual sense," said Green. "It's much easier to use."

JavaFX Script leverages 2D graphics APIs in the Swing GUI toolkit.

JavaFX will be open sourced. "We plan to open-source all of JavaFX as we work through the program," said Green. Plans call for eventually offering a line of developer tools to work with JavaFX with a basic, introductory tool to be offered on Tuesday, Green said.

Expanding Java deployments is a natural goal of the JavaFX platform.

"There are parts of the world where a person's desktop computer is their cell phone, and that's the kind of end point that we're going to get to," said James Gosling, a Sun vice president and Sun Fellow who is considered the father of Java.

Gosling noted the irony in that while the popular JavaScript scripting language looks like Java but is not, the opposite is true for JavaFX. He cited as a potential JavaFX use case an application in which a doctor uses a mobile phone to view an X ray; that is something that can barely be accomplished with technologies prior to JavaFX. The new technology makes content creation available to millions of programmers, Green said.

Sun officials acknowledged that JavaFX bears a similarity to enhanced graphics capabilities offered in the new Microsoft Silverlight platform. But Gosling added that Silverlight differs in that it is mostly focused on video-streaming.

Formerly referred to by the codename, F3, the JavaFX platform could draw attention from AJAX (Asynchronous JavaScript and XML) programmers. AJAX has grown as a popular technique for building Web pages.

"You can use it for anything that you would use AJAX for," Gosling said. "You get much more dynamic behavior. You get much more advanced APIs that you get access to."

Easy applet creation also is possible, Gosling said. Additionally, Web applications can be built that also work in a disconnected mode. Asked if JavaFX makes AJAX obsolete, Gosling said that was not a goal.

Sun's JavaFX offers up an alternative to AJAX and also vies with Silverlight and Adobe Flash, said Jeffrey Hammond, senior analyst at Forrester Research.

"I certainly think people will compare JavaFX apps to other rich Internet application technologies, and given Java's popularity in the enterprise, they have a good chance of attracting developers if the UI and ease of development matches up," Hammond said.

Hammond applauded the JavaFX declarative programming model.

"Anything that makes it easier for developers to quickly build compelling user interfaces using the Java stack is a step in the right direction," Hammond said. "A model that makes it easier to target multiple devices, including mobile ones, is also useful and recognizes the multi-channel direction the Web is taking." 

While the Java Mobile Edition (ME) platform has focused on a reduced set of functionality for mobile devices compared to Java SE, JavaFX brings core Java SE capabilities down to mobile devices, said Green.

Sun officials cautioned that the current release of JavaFX is only an early, alpha release. No date has been set for a general release.

JavaFX differs from Sun's Project Flair, which also proposes an alternative to AJAX, in that Flair is based on JavaScript but JavaFX is not.

Paul Krill is editor at large at InfoWorld.

Talkback:

commentPost a Comment

 

MOST COMMENTS

 
 





Virtualization: A Step by Step Approach to Success
Your virtual machines can be up and running in a matter of minutes. HP and Citrix have integrated XenServer with HP ProLiant servers and management tools, powered by hardware-assisted Intel Virtualization Technology to enable high- performance, cost-savings solutions for server consolidation and disaster recovery. Sponsor: HP

»  Click here to view this Webcast
  Storage is big, and getting bigger
The only certainty is that your requirement for storage will never be satisfied. While you clean out space and authorize POs, you might consider another alternative: outsourcing. The best way to deal with storage might be to let someone else deal with it. Sponsored by SGI

»  Click here to download now

- Special Advertising Partners -
WHITE PAPERS
 

» Technology White Papers Library

Technology White Papers by Topic

Technology White Papers E-mail Alert

Find out when the latest white paper is available:
 
 
INFOWORLD MARKETPLACE
 
» BUY A LINK NOW
 
 

Video

 
 
 

Podcasts

 
 
 

 

Columnists

 
 
 

Resource Center


Ads by techwords beta  [See your link here]
 




Sponsored Technology Links

 
 
 HOME  NEWS  BLOGS  PODCASTS  VIDEOS  TECHNOLOGIES  TEST CENTER  EVENTS  CAREERS  IT EXEC-CONNECT   About | Advertise | Awards | RSS | Contact Us 

Copyright © 2008, Reprints, Permissions, Licensing, IDG Network, Privacy Policy, Terms of Service.
All Rights reserved. InfoWorld is a leading publisher of technology information and product reviews on topics including viruses,
phishing, worms, firewalls, security, servers, storage, networking, wireless, databases, and web services.

CIO :: ComputerWorld :: CSO :: Demo :: GamePro :: Games.net :: IDG Connect :: IDG World Expo
Industry Standard :: IT World :: JavaWorld :: LinuxWorld :: MacUser :: Macworld :: Network World :: PC World :: Playlist