I posted a message about how to develop JavaFX 2.0 application in Eclipse IDE before (and e(fx)clipse is recommended).
In fact, the concrete needs behind that is to be able to develop Android / Windows cross-platform RIA applications more easily.
I doubt if there is a promising solution in the Java world.
Basically, I think MVVM is a must, so that ViewModel and Model code can be reused between Android / Windows ports.
For Event notification/subscription, Observable/Observer can be employed in pure Java.
For Data Binding, however, I found there is an OSS library called Android-Binding which relies on the world of Android
(it imports "binding" namespace and attributes into android style layout xml),
whereas there is different Property/Command binding model in JavaFX 2.0.
Generally, it's hard to unify the data-binding scheme, isn't it?
Recently I read the following articles which said it seems a total solution is comming soon:
- Oracle Plans Open Source JavaFX for iOS and Android
- Open source JavaFX coming to iOS and Android
Does it mean that we can stop our own attempt on building up a cross-platform MVVM framework(mainly for Android / Windows in my case),
and just wait for / participate in the open source contribution of "cross-platform JavaFX"?
For the Data Binding part, especially, I hope it could be more independant from GUI technologies (JavaFX, RCP, Swing, SWT, Android SDK...).
I read an existing thread discussing JavaFX iOS/Android ports, but there is little details about MVVM solution. JavaFX Android iOS - Thanks Oracle