Meaningless Drivel is fun!*
The moose likes JavaFX and the fly likes JavaFX and Adobe Flex Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JavaFX
Bookmark "JavaFX and Adobe Flex" Watch "JavaFX and Adobe Flex" New topic
Author

JavaFX and Adobe Flex

John Holme
Ranch Hand

Joined: Oct 11, 2002
Posts: 54
How does JavaFX compare to Adobe Flex?
Gail Anderson
Author
Ranch Hand

Joined: Jul 07, 2009
Posts: 44
I haven't personally used Flex.

Short answer: JavaFX has the full Java API available to it so you can leverage your Java knowledge/code.

If you use Flex now, you should try JavaFX and see how you like it.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Hm, I am really coming off as a downer this week but I have used Flex. And with Flex, you can use the important part of Java when it comes to RIA's and that is all the server side technology plus whatever you need to do there, with Java. Just use BlazeDS or Life Cycle Data Services. In fact, Flex uses Java to compile the action script and MXML files into flash binaries. Flex gives you declarative UI building via XML with a powerful scripting language in ActionScript. You can also create everything in ActionScript and not use XML at all because the XML is just converted to ActionScript during compile anyway.

JavaFX uses a declarative syntax for building the UI which allows scripting elements or code, if you will, to be used directly within the JavaFX langauge. You're still going to access your data over some sort of data service, more than likely and that could be using JavaFX's built in RESTful web service features or something else. You could create a Flex app and a JavaFX app and have them both talk to the same back end services.

The real question is which technology is better for delivering the UI to the end user.


GenRocket - Experts at Building Test Data
 
GeeCON Prague 2014
 
subject: JavaFX and Adobe Flex