So what is going to make JavaFX successful? Applets died a long time ago. JNLP hasn't gain much momentum beyond allowing companies/projects to demo their product. What exactly about JavaFX is going to start the new Swing revolution? I've done a bit of JavaFX scripting and I personally don't see the benefit of it over traditional Swing development which I can deliver via Applet or JNLP already.
There are two things that, combined, that I believe will make JavaFX successful:
A ubiquitous, self-updating, JVM, which includes the JavaFX libraries. The Java SE 6 update 10 initiative addresses, as well as issues related to startup time, stability of the JVM plug-in, etc. Please take a look at the Java SE 6 update 10 page for more information.
The simple, elegant, declarative scripting that (IMO) makes it as easy to create a JavaFX application without a GUI designer as it is to write a Swing/2D app with a GUI designer. In addition, tools will be available that make it conducive for graphic designers and programmers to collaborate on JavaFX Script programs.
Thanks,<br />James L. (Jim) Weaver<br /><a href="http://JavaFXpert.com" target="_blank" rel="nofollow">"Helping you become a JavaFXpert" weblog</a>
<dont-shoot-messenger> I just got back from speaking at a conference on emerging enterprise technologies. In talking with my fellow presenters, every time JavaFX was brought up, eyes rolled and people snickered. Knowing very little about JavaFX I asked why all the snorting. The consensus seemed to be that it's either too little too late, or a sad attempt to prop up failed technologies such a applets with bailing wire and bubble gum. Can you shed any light on why this attitude seems so prevalent, and counter their arguments? </dont-shoot-messenger> [ April 01, 2008: Message edited by: Bear Bibeault ]
I'm seeing sunlight again because of two factors: 1) I believe that the JVM will be nearly ubiquitous by the end of 2008. This is because of initiatives such as Sun's Java SE 6 update 10 project. 2) JavaFX Script runs on the JVM, can instantiate and call methods of any Java class, and has a simple declarative syntax that provides a great abstraction to Swing and Java 2D.
In reading similar related posts James, I've noticed you mention two things quite a bit.
a) Java SE 6 update 10 initiative b) The simple, elegant, declarative scripting
I've yet to see any mention of how JavaFX simplifies the server/client model that it has to have in order to sell as RIA. Wouldn't that also contribute greatly to its success or failure? Sure, its great if I can create a nice fancy flashy GUI easier in JavaFX than with Swing and sure its great if the load time is faster and customers have a better VM plugin experience. But if its still a PITA to talk to the server what do I get? A pretty useless GUI, IMHO.
Would you care to go into any details on that aspect?
Joined: Oct 11, 2007
My friends call me Jim, by the way :-)
Here are a couple of example JavaFX programs that demonstrate communicating over HTTP (using XML and JSON as the data transport protocols). Note in these examples that JavaFX has libraries that simplify building and parsing XML and JSON documents.