Linked by Thom Holwerda on Thu 4th Dec 2008 22:34 UTC, submitted by Stenley
Java Sun has released the first version of JavaFX, aptly named JavaFX 1.0. "JavaFX 1.0 returns to the sales pitch that Sun used during Java's launch more than 13 years ago: a foundation for software on a wide variety of computing "clients" such as desktop computers or mobile phones. JavaFX builds on current Java technology but adds two major pieces. First is a new software foundation designed to run so-called rich Internet applications--network-enabled programs with lush user interfaces. Second is a new programming language called JavaFX Script that's intended to be easier to use than traditional Java."
Thread beginning with comment 339258
To read all comments associated with this story, please click here.
Flex
by memson on Thu 4th Dec 2008 23:57 UTC
memson
Member since:
2006-01-01

Seems to be an awful lot like Flex, except Flex runs on Flash player and this runs on, I'm guessing Java VM? I know people will shout, but Flash seems more likely to be installed these days, and if not is a miniscule download. How does this compare?

RE: Flex
by Moochman on Fri 5th Dec 2008 00:11 in reply to "Flex"
Moochman Member since:
2005-07-06

Starting with the current version of the Java Runtime Environment (Update 10), the parts of the JRE that are needed for a given applet to run are downloaded on-demand. According to Sun, this results in an initial JRE download size of 4-5MB for the average applet. (in comparison to 14+MB to download the full JRE, which was previously the case)... This compares pretty well to Flash's 5.4MB download.

http://java.sun.com/developer/technicalArticles/javase/java6u10/#ke...

Also, browser integration in Update 10 is much better. If I understand the release notes correctly, the Java plug-in can now be installed directly in-browser without a visit to Sun's site, just like it is for Flash.

http://java.sun.com/developer/technicalArticles/javase/java6u10/#pl...

As for comparison to Flex... Java has some pluses and minuses. On the definite plus side is power -- there are way more libraries out there written for Java than for Flex, and the Java Standard Edition API is incredibly rich. Java also has the nice ability to display widgets in the native operating system's look and feel if you like, which Flex can't do. On the downside, Flex has *way* better (more mature) UI-building tools. And of course Flash has *way* better design and animation tools. It will take quite a while for Sun to catch up on those (actually they may never catch up to Flash on the ease of use for designers).

However, when the design tools for JavaFX are released, they will be free. (as opposed to FlexBuilder)

Edited 2008-12-05 00:30 UTC

Reply Parent Bookmark Score: 7

RE[2]: Flex
by suryad on Fri 5th Dec 2008 04:08 in reply to "RE: Flex"
suryad Member since:
2005-07-09

Its quite amazing to see how fast the Java 6 Update 10 plugin for the browser works. I dont know much about Flex but with this new JDK release, I think it is definitely a step in the right direction in terms of producing desktop apps and web based apps.

Reply Parent Bookmark Score: 2

RE: Flex
by google_ninja on Fri 5th Dec 2008 00:43 in reply to "Flex"
google_ninja Member since:
2006-02-05

Flash has phenomenal tools for making movies, but is a terrible programming environment.

JavaFX/Silverlight allow for true RIAs on the web on platforms that were made for more serious programming, using tools and languages that are robust and made for the job.

Reply Parent Bookmark Score: 4

RE[2]: Flex
by modmans2ndcoming on Fri 5th Dec 2008 02:17 in reply to "RE: Flex"
modmans2ndcoming Member since:
2005-11-09

Exactly.

I am not so much a fan of Java as I am of C#, but Java certainly gets more live from my as a platform than Flash/Flex does.

Reply Parent Bookmark Score: 2

RE[2]: Flex
by joshv on Fri 5th Dec 2008 02:25 in reply to "RE: Flex"
joshv Member since:
2006-03-18

You've obviously never used Flex - a first class RIA development platform which compiles to a flash target.

Reply Parent Bookmark Score: 2