This content has been marked as final. Show 9 replies
True, I completetly forgot to ask about that during JavaOne.1 person found this helpful
I think they mentionned migration guides at some point though....
Thanks to bouye for this information.
Is there any Oracle expert or javafx team on the line to give us some hope about this tool ?
I am in the same situation. However I am placing my hopes with Visage. The current version of the Java language doesn't seem too congruent with JavaFX Script. I would imagine most legacy code uses 'functions that are variables' (closures) quite liberallly, each of which would translate into quite a messy interface call (reification of the strategy pattern).
In my opinion using FxTranslator will become a better option when Java 8 comes out (that's the one with closures right?) which isn't until 2013? Even then as long as Visage is still around (even growing in popularity?) I would be very happy to stick with it.
I read previously that FxTranslator was being written in Scala. Wouldn't the writers of the tool feel a little conflicted and think that Scala would be a better target? For that case ScalaFX exists.
So I'm holding out a couple of other hopes rather than the straight JavaFX Script -> Java one..
I'm sorry to say we have no tool to help with the migration. Our experience from migrating the JavaFX Library and samples is that there wasn't really an easy solution -- even the migration assistant that was written was very incomplete. Some folks found it very useful, but I just did it by hand.1 person found this helpful
It might be okay to tranlate a demo by hand. However my company has written so much code in JavaFX 1.3 that it would be (in practical terms) impossible to do the translation by hand. Two questions. What is your feeling as to the best way for us to proceed? And (in case it is different) what is the official Oracle recommended way of performing the translation?
You're talking about a migration assistant: could you give us more information about it ? where can we find it ?
Sounds, as you mentioned, that it can be helpful even if incomplete.
Any chance you could send me the FxTranslator helper you've created?
I'm writing a blog post on migrating from javafx 1.3 javafxscript to javafx 2.0 java language, and that would be really cool to add.
Cheers, thanks in advance,
Wish I could, but unfortunately we cannot send it along (actually, I don't even have the code on hand, didn't write it (Eamonn did) and it would need to get legal approve to open source it, and it probably doesn't even compile or work anymore because the platform has change significantly since last December).
Ok. Thank you very much for the prompt reply even so.
Cheers, continue with the great work you're doing with javafx 2.0