InfoQ

News

JavaFX and Adobe Flex Insider Shares Thoughts

Posted by Jon Rose on Nov 19, 2008 08:49 AM

Community
Java
Topics
Rich Client / Desktop ,
Web 2.0 ,
Rich Internet Apps
Tags
Adobe ,
JavaFX Mobile ,
Flash ,
JavaFX Script ,
Adobe Integrated Runtime ,
Sun Microsystems ,
Flex

Chet Haase of Adobe Systems, who previously worked at Sun on the JavaFX team, shared the following comparisons of JavaFX and Adobe Flex on the Yahoo FlexCoder group.

  • Maturity: One of the reasons that you haven’t heard much about JavaFX to date is that it’s actually not yet released. Supposedly this will happen in the very near future, so maybe we’ll all hear more about it at that time.
  • Language: Although many of the underlying capabilities of JavaFX rely on the Java SE platform, JavaFX itself is based on a new scripting language (not Java, not JavaScript, not ActionScript, but a new scripting language entirely). One notable differences between the languages of JavaFX and Flex is that Flex uses MXML for its declarative aspects, and ActionScript for the programmatic aspects. The JavaFX language combines both of these elements, having aspects of declarative and programmatic in the same code.
  • GUI capabilities: Both platforms offer GUI components, graphics, animation, and databinding capabilities, thought the platforms differ widely in syntax and capabilities of these different features.
  • Tooling: Most of the tooling so far announced for JavaFX are more on the code developer side; editing plugins for NetBeans, plus export plugins for Illustrator and Photoshop (they produce PNG files from the layers in the project). On the Flex side, there’s the FlexBuilder IDE and the in-development tools such as Flash Catalyst for designer/developer workflows and FXG roundtrip import/export from/to the CS tools including Catalys for the graphics tags in the Gumbo release of the SDK.
  • Runtime availability: The availability of the JavaFX runtime is basically that of the Java platform (if a user’s machine does not have the proper release of Java (I believe it will require the latest updated 10 release), they will need to download/install it). The availability of Flex is basically that of the Flash platform of the appropriate version (e.g., Gumbo will run on FlashPlayer 10).

Chet does acknowledge that the view from the inside can be different, and offers the following query on how others view the platforms.

I would be curious to find out how others view the platforms, especially from the standpoint of external application developers...

In the past, InfoQ covered Chet’s departure for Adobe, and has featured him in both interviews and video.

Related Sponsor

The Adobe Flash Platform provides everything you need to develop applications, content and video across operating systems and devices. SEE HOW

5 comments

Reply

Flash Player 9 by Christopher Brind Posted Nov 19, 2008 10:03 AM
Re: Flash Player 9 by Darren Smith Posted Nov 19, 2008 10:33 PM
Flex for multi channel? by Feby Thomas Posted Nov 20, 2008 12:00 AM
Re: Flex for multi channel? by Darren Smith Posted Nov 20, 2008 4:37 PM
JavaFX Runtime by anthony rogers Posted Nov 20, 2008 3:58 AM
  1. Back to top

    Flash Player 9

    Nov 19, 2008 10:03 AM by Christopher Brind

    In the quoted extract Chet's final point might be construed as Flex having a dependency on Flash Player 10.<p/>

    Note that while Gumbo requires Flash Player 10 most people are building apps with Flex 2 or 3 which requires Flash Player 9. Flash Player 9 is (allegedly) installed on "most" computers.

  2. Back to top

    Re: Flash Player 9

    Nov 19, 2008 10:33 PM by Darren Smith

    Penetration of Flash Player 9 is 97.7% so I'd say that's definitely "most" computers:

    www.adobe.com/products/player_census/flashplaye...

  3. Back to top

    Flex for multi channel?

    Nov 20, 2008 12:00 AM by Feby Thomas

    How is the support from flex for multi channel access of the same application UI?

  4. Back to top

    JavaFX Runtime

    Nov 20, 2008 3:58 AM by anthony rogers

    JavaFX 1.0 will run on JRE 1.5 and greater, for new plugin features there is a requirment of the new java plugin that ships with jre 1.6-u10. Hope that helps?

  5. Back to top

    Re: Flex for multi channel?

    Nov 20, 2008 4:37 PM by Darren Smith

    From the BlazeDS developers guide:

    "Flex components use channel sets, which contain one or more channels, to contact the server. You can automatically or manually create and assign a channel set to a Flex component. The channel allows the component to contact the endpoint, which forwards the request to the destination."

    BlazeDS is Adobe's open-source server-based Java remoting and web messaging technology:

    livedocs.adobe.com/blazeds/1/blazeds_devguide/b...

Educational Content

JRuby: The Pain of Bringing an Off-Platform Dynamic Language to the JVM

Charles Nutter discusses bringing JRuby to the JVM, why Ruby is hard to implement, JIT compilation, precompilation, core Ruby implementation, Java library access, library challenges and future plans.

Performance Anti-Patterns in Database-Driven Applications

Alois Reitbauer specifies several architectural anti-patterns that one should stay away from and which can downgrade an application’s performance.

Making TDD Stick: Problems and Solutions for Adopters

Teams in large organizations still struggle to adopt TDD. In this article Mark Levison shares problems he uncovered when he surveyed teams, and his own strategy to introduce TDD into an organization.

Testing is Overrated

In this talk from RubyFringe, Luke Francl asks: is developer-driven testing really the best way to find software defects? Or is the emphasis on testing and test coverage barking up the wrong tree?

VM Optimizations for Language Designers

John Pampuch discusses the HotSpot compiler, the history of Java performance, HotSpot development philosophies and challenges, optimization, JVM library improvements, and tips for better performance.

Keith Braithwaite, an Agile Skeptic

In this interview, Keith Braithwaite, an Agile developer, consultant and trainer, says that we should show a good deal of skepticism towards today’s Agile practice.

Workflow Orchestration Using Spring AOP and AspectJ

This article demonstrates how to build and orchestrate highly configurable and extensible yet light-weight embedded process flow using AOP techniques with Spring AOP and Aspect J.

Embrace Uncertainty

Jeff Patton explains why one needs to embrace uncertainty in order to succeed with his/her Agile project and how to avoid some of the common mistakes leading to project failure.