As expected at JavaOne some news were released. Blogs and development portals are full of it. In short:
- Netbeans 6.9 becomes 7.0 in order to be aligned with the Java platform itself. (more info here)
I am fine with that, seems Oracle is still serious about Netbeans.
- JavaFX Script is dead but the features will be available as API. (more info here)
OK, the scripting was a bit cumbersome. But you could get used to it using Netbeans.
I was not looking at JavaFX for a few months and the latest rumors on the potential death of the RIA product under the new owner did not make me spend time learning more, even I believe it might be the missing piece for some boring Java (Swing) enterprise applications. Yesterday the plugin that finally supports the visual creation of JavaFX was released. (Go for plugins,reload catalog and select the version 1.0 of JavaFX plugin)
Once the download is finished you can start creating JavaFX applications
New JavaFX Project
JavaFX Skeleton Project
I cant judge yet the composer or rather non-manual (full control) way to create a fx stage. The composer creates the code (similar to Swing) in the background and you cant touch it without screwing the fx file. I will try on a few samples.
First Remark: The preview pane renders useless now, it does not work with the composer anyway.
More infos on the JavaFX Composer
Earlier than I expected it, but the new SDK version was released yesterday. Now shipping with the new JavaFX Mobile Support.
More infos at http://www.javafx.com (link) or Netbeans Website (link).
If you are a Netbeans user and download the earlier version of the plugin, just visit your plugin page and reload available plugins.
Netbeans JavaFX plugins
I guess 2009 will be a very important year for JavaFX to get rolling faster. Most important milestones for this year:
- JavaFX for Solaris and Linux (no news on this since about 2 months on this, link).
- JavaFX 1.1 with the first version of JavaFX Mobile (planned to be released in February at Mobile World Congress, link)
- JavaFX 2.0 (at JavaOne 2009?)
You noticed there are hardly (new) books on JavaFX ? I guess publishers want to avoid sitting on books like Silverlight 1.0 which is pretty useless once newer version were released. Some titles are announced for mid year release.
For 2009 I decided one of the new technologies to poick up would be JavaFX. Always interested in RIA, only now I can stay in the Java family creating fancier applications than with Swing only. JavaFX is not matured yet, even it is released for production as version 1.0. I guess there is lot of stuff coming up with future releases. On of the catches currently is th elack of IDE that lets you visually creates JavaFX applications, you still need to create more or less manually the objects (buttons, textbox,..) on the screen. But I am 100% sure that some upcoming release of Netbeans or a plugin will allow this similar to place javabeans on a JSF page.
How to get started ? There are some pages with downloads and tutorials that I already listed in earlier posts (JavaFX 1.0 released, JavaFX Get Started ). Today I want to highlight 2 additional resources that are worth visiting.
- James Weavers JavaFX Blog (link)
- The JavaFX Online Seminar (free) by Sang Shin and James Weaver on Javapassion.com (link).
A very different approach of training because it is rather online and not with fancy webinars or webcasts, but providing all materials allowing you work at your own pace anytime. I will try this !
The few steps it took me to get started with JavaFX. I am using Netbeans 6.5, so the only thing to do is to select the plugins under Tools and reload the catalog for available plugins. Search for “javafx” and install the 4 plugins/packages.
Install JavaFX Plugins
You might run into this network related problem. It can be annoying because you eventually have to start the 45MB download again (and again), but that applies to all plugins.
Not all of the plugins have been successfully donwloaded..
After downloading and restarting the IDE you find 2 new sections in the “new peoject” screen. One for a skeleton JavaFX application and under samples a rather big number of preloaded samples to get you running. Continue reading