Oracle to Discontinue JavaFX Script; Will Use Java API
After a short three-year run, the scripting language behind JavaFX was declared dead today at JavaOne. Starting with JavaFX 2.0, which is due out in 2011 (in 7-10 months), the unique RIA framework will use the Java API in place of the doomed JavaFX Script. Of course, this also means that other JVM languages like Groovy and Scala could be used to write applications with JavaFX, but we'll have to see how this new system works.
JavaFX 2.0 will also come with an embeddable browser and will itself be embeddable into… wait for it… Swing. On the surface, it looks like they're essentially turning JavaFX into another set of libraries for RIA. One tweeter called it "swing++." This will also make JavaFX resemble Apache Pivot in a few more ways.

Other News From JavaOne
JDK overseer Mark Reinhold explained the updates to the OpenJDK roadmap, but there's been no ironclad confirmation that they have settled on Plan B, which includes a split in features between JDK 7 and JDK 8. While some sites are nearly reporting this as a confirmed decision, the roadmap updates are still being called a draft. At JavaOne, Reinhold said it will definitely not take five years to go from Java 8 in 2012 to Java 9.
UPDATE: Plan B has been confirmed. Although the decision was made a little bit fast, it seems like most of the community was behind it.
You should also know that Groovy has won the Script Bowl for the second year in a row. Congratulations Groovy gurus!
It's interesting that none of today's revealing announcements came in the much-anticipated keynote from Larry Ellison, which turned out to be dreadfully boring. Oracle has still said nothing about the Google lawsuit. I'm still waiting for them to deliver on their promise of transparency and clarity.
Finally, you have to see this cool guy at JavaOne and the cool shirt he's wearing.
If you have more news from JavaOne to add, post a comment and let us know what's up!
JavaFX 2.0 will also come with an embeddable browser and will itself be embeddable into… wait for it… Swing. On the surface, it looks like they're essentially turning JavaFX into another set of libraries for RIA. One tweeter called it "swing++." This will also make JavaFX resemble Apache Pivot in a few more ways.

Other News From JavaOne
JDK overseer Mark Reinhold explained the updates to the OpenJDK roadmap, but there's been no ironclad confirmation that they have settled on Plan B, which includes a split in features between JDK 7 and JDK 8. While some sites are nearly reporting this as a confirmed decision, the roadmap updates are still being called a draft. At JavaOne, Reinhold said it will definitely not take five years to go from Java 8 in 2012 to Java 9.
UPDATE: Plan B has been confirmed. Although the decision was made a little bit fast, it seems like most of the community was behind it.
You should also know that Groovy has won the Script Bowl for the second year in a row. Congratulations Groovy gurus!
It's interesting that none of today's revealing announcements came in the much-anticipated keynote from Larry Ellison, which turned out to be dreadfully boring. Oracle has still said nothing about the Google lawsuit. I'm still waiting for them to deliver on their promise of transparency and clarity.
Finally, you have to see this cool guy at JavaOne and the cool shirt he's wearing.
If you have more news from JavaOne to add, post a comment and let us know what's up!






Comments
William Siqueira replied on Mon, 2010/09/20 - 4:03pm
Jeff Martin replied on Mon, 2010/09/20 - 4:59pm
Jacek Furmankiewicz replied on Mon, 2010/09/20 - 5:48pm
Kudos to Oracle for making a tough decision.
Marko Milicevic replied on Mon, 2010/09/20 - 6:05pm
I think this is the best possible outcome for this story, and the best chance for the future of desktop/RIA Java. The JavaFX language was a nice DSL for building RIA's. But it was a big mistake to couple the JavaFX platform with a single language. It's a much better approach to expose an API that multi-languages can integrate with, and make it easy for great frameworks to participate in growing/supporting the ecosystem (like Pivot and the awesome Griffon framework). I believe that developers will be much more excited by JavaFX now.
Another fantastic decision is Swing integration. There is too much invested in Swing to abandon it. I assume their approach will be a clean new JavaFX API layer on top of Prism, then refactor Swing to be implemented on top of the new API (similar to how Swing was implemented on top of AWT). Now out of the gate their will be hundreds of great Swing components that can be use to build JavaFX applications. I can actually think about building real JavaFX business apps.
It also sounds like strong confirmation that jwebpane is still alive...
http://weblogs.java.net/blog/alex2d/archive/2009/06/jwebpane_bof_sc.html
http://kenai.com/projects/webpane/members
This is absolutely essential for almost any modern application, and could lead to JavaFX being a serious RIA contender.
This could also be the missing link for JavaFX to integrate a development/designer workflow. Instead of relying on some proprietary markup or language to express the UI design, why not integrate JavaFX with the web via jwebpane? Swing/JavaFx components could integrate directly into the HTML DOM (rendering directly in the browser) and allow designers to visually design JavaFX apps as they build RIA today, using XHTML, CSS and javascript.
One thing that is missing that may need to be considered is a rebranding. Can "JavaFX" survive the brand it's become?
My only wish now is that Oracle successfully execute on the new roadmap.
JavaFX is dead, long live JavaFX!
Dennis Lee replied on Mon, 2010/09/20 - 6:58pm
Otengi Miloskov replied on Mon, 2010/09/20 - 8:51pm
Raw ThinkTank replied on Mon, 2010/09/20 - 9:42pm
in response to:
Otengi Miloskov
Otengi Miloskov
If they had not done this then Google could have used JavaFX in court against the fragmentation claims
Otengi Miloskov replied on Mon, 2010/09/20 - 10:06pm
in response to:
Raw ThinkTank
Mike P(Okidoky) replied on Mon, 2010/09/20 - 11:03pm
About that lawsuit. It's key that things are handled in a non-hostile manner. Both sides have a responsibility here. They both rely on the audience that is sensitive to this issue!
Arn Naud replied on Tue, 2010/09/21 - 2:52am
Good news.
"embeddable browser" for swing, at least!
More important than reinventing a new scripting language...
(And if the other direction, java-in-browser, can also be improved, it would be nice too. It seems that today it's easier to put C# in the browser than Java, with Sliverlight)
Alan O'Leary replied on Tue, 2010/09/21 - 3:51am
This is indeed great news - pity it took so long for them to turn this around - the community have asked for this from the inception of JavaFX .
Lesson for Sun/Oracle - Ask the Community !
I just hope this doesn't turn into a JWebPane type announcement - i.e. vapour ware...
Being able to introduce JavaFX into existing Swing Apps is the BEST way to transition the large number of existing Swing apps & devs to this new tech.
One thing I would like clarification on though is confirmation that a Prism based JavaFX element really will be embeddable into Swing/AWT ???
Or will embedding into Swing mean a tonne of limitations.
If this is confirmed this is a massive leap forward for us.
Richard Osbaldeston replied on Tue, 2010/09/21 - 4:45am
Ack! the retreat from mobile JavaFX is a mistake, the majority of RIA focus & innovation is on mobile at the moment. If JavaFX has a value proposition anywhere it should be there as an answer to mobile platforms fragmentation. Always wondered how they'd attract designers away from html/css/flash a separate modern DSL may well have been more attractive to that crowd, but Java will be a distinct turn off.
Worried by all the talk about JavaFX being the replacement UI framework and how its the new Swing, AWT? (didnt get that reference either). Are they intending to just concrete over Swing now? Twitter is a rubbish way to get at any true intentions. Certainly theres been little to no offical word on Swing for some time. The two frameworks will now be targeting the same desktop market and JavaFX 2.0 backfilling with lots of desktop (alt. Swing) like components.. If Swing failed why should JavaFX 2.0 fair any better?
Philippe Lhoste replied on Tue, 2010/09/21 - 4:48am
Argh! So the many hours spent in learning the JavaFX language is lost, down in the dump? Too bad, it was a nice, expressive language (although a bit verbose). Unlike most commenters above, I didn't mind learning a new language, and actually it was much faster to learn than what I wrote at the beginning of the sentence...
Now, I am happy they insist on usability with alternative languages. I am still not sure that describing a JavaFX scene with pure Java will be a nice thing. But I suppose the Groovy and Scala (and other expressive JVM languages) will soon find nice DSLs to do that.
BTW, I wonder what all the tools that generated JavaFX script code will become. I just hope they won't give us some XML syntax to describe scenes for Java... And I hope we won't have to write wrapper classes where we could just assign a function to an action variable. Unless they are precisely waiting for Java 7 (the version with closures) to do JavaFX 2? Then I won't hold my breath in the waiting...
Alan O'Leary replied on Tue, 2010/09/21 - 5:59am
in response to:
Richard Osbaldeston
I think it was a good move to remove the mobile - I mean - what mobile would it ever have ended up on ?
Android/iOS/HTML5 are the tech of the future for Mobile (Flash not so much)
HTML5 is clearly the UI tech of the future (But we are some way from full widget libraries etc yet)
There is still a massive Enterprise UI space out there - Swing had sucess in this area - and JavaFX gives this domain a much needed tech bump.
Chankey Pathak replied on Tue, 2010/09/21 - 6:55am
Ivan Lazarte replied on Tue, 2010/09/21 - 7:14am
Sergey Surikov replied on Tue, 2010/09/21 - 9:13am
Rogerio Liesenfeld replied on Tue, 2010/09/21 - 9:20am
William Siqueira replied on Tue, 2010/09/21 - 10:36am
in response to:
Philippe Lhoste
Chad Salamon replied on Tue, 2010/09/21 - 11:02am
Chankey Pathak replied on Tue, 2010/09/21 - 11:44am
Otengi Miloskov replied on Tue, 2010/09/21 - 1:02pm
in response to:
Chankey Pathak
With JavaFX 2(Swing++) Oracle will port back the API's to Java and maybe then JavaFX script will use the API's as groovy or Jython does but not anymore the other way around.
Face it, JavaFX have been a big loose for Sun, Oracle and the community. Oracle does not want to invest on it anymore, Oracle will just invest in Java, That is why they are releasing the JavaFX controls to open source so the community can do anything they like with JavaFX because Oracle is not interested anymore on JavaFX script.
For me all this means JavaFX is complete dead and have been dead as I said since day 1.
2c.
Chad Salamon replied on Tue, 2010/09/21 - 1:59pm
in response to:
Otengi Miloskov
Andrew McVeigh replied on Wed, 2010/09/22 - 5:22am
in response to:
Rogerio Liesenfeld
Well, it doesn't look good for fxscript. From Richard Bair's blog (from the JavaFX team). So, in essence it's being thrown over the wall to the community and no further official Oracle resources will be used for it.
http://fxexperience.com/2010/09/javafx-2-0/
Otengi Miloskov replied on Thu, 2010/09/23 - 5:30pm
in response to:
Chad Salamon
Otengi Miloskov replied on Thu, 2010/09/23 - 5:32pm
Hans Unknown replied on Mon, 2010/10/04 - 6:16am
virendra nagabhirava replied on Mon, 2010/11/01 - 12:37am
There are couple of things which java missed right from the days of applets which makes the applets bulky
Traditionally java applets are coded in java which are interepreted by the jre on the users machine
would like to put some comments on weaverfx.com
WeaverFx [http://weaverfx.com/index.php?option=com_content&view=article&id=13&Itemid=6] takes this a step forward by adding a wrapper around the base java applet class and lets developer write there UI declaratively by simple html style XML. Thus making java applets extremely light the size of the applications on the demo site are in Kb's mostly 30 to 80Kb in size.
coming to the UI looks, java had the concept of look and feel but again the look and feel were huge as they were again written in java code. The themes of java were not as popular.
WeaverFx introduces the concept of simple color schemes and uses gradients extensively for a better look.
WeaverFx has binder's supports http,rssfeed and other services all via declaration
Building complex tables were always tough with traditional applets, weaverfx has made them declrative
Having custom components inside a table was always trouble some however with weaverfx this becomes extremely easy.
Write once and reuse it anywhere or a template based development of weaverfx concept makes it easy to reuse the components/simple screens again and again.
In fact in weaverfx accordions and tabbed panes or split panes one needs to just point to the other components.
though weaverfx is not meant for rich part of the RIA, it is meant for the Application part of the RIA
Rajmahendra Hegde replied on Thu, 2010/11/18 - 12:20pm
Rajmahendra Hegde replied on Thu, 2010/11/18 - 12:42pm