Adobe Flex is a cross-platform, software development kit (SDK) released by Adobe.Using Flex we can develop rich Internet applications.Flex applications can be written using Adobe Flash Builder or by using the freely available Flex compiler from Adobe.
JavaFX is an another software development kit (SDK) from Sun Microsystems for creating rich Internet applications in java platform.Here we will see what is the difference between the two applications.
| Adobe Flex |
JavaFX |
| Flex applications uses flash platform as virtual machine within the browser. | Java doesn’t have that consistent platform on the Web that they can build on. |
| We need to use MXML is an XML language to create Flex applications | F3 is a predecessor to JavaFX |
| XML notation | JSON-like notation |
| Flex is far more stable | JavaFX is fairly new |
| Flex has video and audio support, you can record from cameras. For audio playback, it support MP3 as a primary audio mechanism, [and] you can stream audio and video to Flash applications | Multimedia experience is not as good in Java |
| Flex is pure xml and Action Scripts | JavaFX syntax is bit complicated compared to Flex |
| Flex runs on flash, Flash requires only 1.2MB | But for JavaFX + Java runtime of minimum 30 mb, this is too big consideration for publisher |
| Need to write new business logic | You can use your existing Java business logic by simply importing it |

