Meaningless Drivel is fun!
The moose likes JavaFX and the fly likes JavaFX alone or Java + JavaFX? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JavaFX
Bookmark "JavaFX alone or Java + JavaFX?" Watch "JavaFX alone or Java + JavaFX?" New topic

JavaFX alone or Java + JavaFX?

Mjeff Wilson

Joined: Oct 30, 2007
Posts: 4
Stephen and Dean,

There is a lot of stuff missing from JavaFX that could be of interest to RIA development (JavaFX-XML binding, for example -- I don't count the current primitive XML parsing in JavaFX). In addition, there is a lot of JavaFX that is not properly documented (e.g., reflection). Also, I understand that Sun wants JavaFX to be sort of a DSL for building RIAs.

Should complete apps be built with JavaFX alone? Or should we be looking at mixing Java and JavaFX? Do you know if Sun will be adding the missing pieces to make it possible/easier to use JavaFX for the whole application?
Nicolas Lorain

Joined: Oct 04, 2009
Posts: 2
It is definitely Sun's intention to keep building the platform over the next few months/years. Specifically, look out for more UI components in the next release, improved performance, and many other features. For now though, we recommend that you leverage one of the biggest strengths of JavaFX, which is the ability to mix and match Java with JavaFX
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63852

"JavaFx Foryou", please check your private messages for an important administrative matter.

[Asking smart questions] [About Bear] [Books by Bear]
Philippe Lhoste

Joined: Oct 23, 2009
Posts: 28
It is quite natural to mix Java and JavaFX, eg. if you want to get MP3 ID3 tags or a physics system (ie. leveraging existing libraries). Or just using some existing Java back-end (business logic, database access, etc.).
There is one advantage in making the maximum code in JavaFX, as long as you stick to the Common profile (which is nearly everything except advanced graphic effects): you don't have to think twice to ensure that your application will run on a mobile, if that's a platform you target.
Otherwise, you have to ensure your Java code sticks to MIDP 2.0 (for example), which is quite constraining...
I agree. Here's the link:
subject: JavaFX alone or Java + JavaFX?
It's not a secret anymore!