May 07, 2007

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

Close

On Twitter now

Application development

Powered by Twitter
additional resources
White Paper - How to Improve Delivery of Advanced Web Applications

White Paper

Virtual Workforce: The Key to Expanding The Business While Cutting Costs

Get the independent advice and expertise you need to support a virtual workforce.

Go inside:
The three-step approach to making a virtual workforce a reality.
The four flavors of client virtualization technologies.
The three key initiatives that solve IT challenges.
Download now »
White Paper: Successfully Secure Your Wireless LAN With Wi-Fi firewalls.

White Paper

Addressing Linux Threats Leveraging Fewer Resources

The increase in Linux popularity has increased the frequency and sophistication of malware attacks. Read this 2 page white paper now to learn how you can protect your Linux environment with real-time protection that is certified by all major Linux vendors.

Download now »
White Paper - The 2009 Handbook of Application Delivery

White Paper

The 2009 Handbook of Application Delivery

Ensuring acceptable application delivery will become even more difficult over the next few years. As a result, IT organizations need to ensure that the approach that they take to resolving the current application delivery challenges can scale to support the emerging challenges. This handbook elaborates on the key tasks associated with planning, optimization, management and control and provides decision criteria to help IT organizations choose appropriate solutions.

Download now »
White Paper - Is Your Backup System Outdated?

White Paper

Mid-range Storage Considerations

A common misconception is that mid-range storage requirements are dramatically different than that of a larger enterprise. Mid-range storage users may require less capacity, but they have similar functionality and management requirements. This ESG paper examines mid-range storage needs and reviews a new solution that adjusts size while retaining value, performance and functionality.

Download now »

Sign up to receive InfoWorld Resource Alerts

Subscribe to the Developer World Newsletter

Receive a weekly roundup about the art and science of software development.

©1994-2010 Infoworld, Inc.