JavaFx has been released more than 3 months. Today, I gonna release a new comparison on JavaFx, Flash and Silverlight.
I picked up one of my previous sample Fps Meter and clone it using JavaFx. To reduce my effort, I started my implementation using the Carousel Sample provided in JavaFx Website.
The development isn’t that smooth. I have spent more than 2 hours in modifying the sample. Anyway, before any further discussion, let’s take a look at the demonstrations first.
Comparison
Source codes
Carousel [JavaFx 1.1] (399 KiB, 2,895 hits)
FPS Meter [Flash 9, AS3] (129.9 KiB, 4,613 hits)
FPS Meter [Silverlight 2, C#] (139.6 KiB, 4,692 hits)
JavaFx
Flash
Silverlight
My Feeling
To be frank, I don’t have a very good impression on JavaFx development. I think that’s probably due to the following reasons:
- There isn’t any UI Editing tool. I always have to work with the script. That isn’t fun if I can only deal with coding. May be I have to check with their milestone when they will provide Visual Editing tool.
- The application takes too much time to load. I didn’t know why, but when ever I reload the application using IE, it will take a while before displaying anything.
- In order to run the application, you need not only the .jar file, but it also requires the .jnlp files.
- I have no idea what properties can be associated for a given object. (May be there is code suggestion for properties, but I just don’t know how to get it open.)
- Sometimes, the debugger is not able to identify the correct line number of a syntax error.
- JavaFx Script is a brand new script and it really take a lot of time to learn.
- It will leave out some “ghost images” when you scroll between the page.
Actually, there are some more bad feelings, but I think I don’t list them all here.
Someone may argue that JavaFx is a relatively new technology and it’s normal to have usability problem. I agree with that. Therefore, I think I will just wait for JavaFx to evolve before spending more time on it.
I still remember that Silverlight also isn’t attractive in version 1. So, what next will be for JavaFx?

March 12th, 2009 at 4:43 am
Java is not loading:
exception: null.
java.io.FileNotFoundException: JNLP not available: /wordpress/wp-content/uploads/FpsMeter/Carousel_browser.jnlp
at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.io.FileNotFoundException: JNLP not available: /wordpress/wp-content/uploads/FpsMeter/Carousel_browser.jnlp
March 12th, 2009 at 4:46 am
Interesting write-up. I’m glad you didn’t focus on the FPS thing because using FPS as a point of comparison really doesn’t give an accurate view of overall performance. See my blog “Bursting Bubbles” for more details:
http://www.jamesward.com/blog/2008/04/10/bursting-bubbles/
However, it would be useful to see how many images you can add and still maintain 30fps. That is a useful benchmark but I lost count of the number of times I clicked the “Click to Add More Image” button. :)
-James
March 12th, 2009 at 5:36 am
Java development tools have always sucked. It’s what the morons at Sun have never figured out. I checked out the documentation for JavaFx at javafx.com, and I didn’t think it was possible, but the Sun programmers are even bigger idiots than I thought. Their sample code boxes cut off every example, the gallery itself is an html page (why not do it in fx?), the code is repugnant (did they style it on CSS???) The hits keep on coming from McPuke and his chief bootlicker Gosling. I honestly don’t know how they expect to put out even a pre-alpha that bad and expect to get any traction. They can’t even get their own digital signatures figured out. Truly truly horrific.
March 12th, 2009 at 6:20 am
Your project is broken.
the updated project is uploaded here :
http://www.easy-share.com/1903989008/FpsMeter_Javafx.rar
you must first check your example.html file because the size was incorrect.
I also clean and build the whole project.
P.S. what about performance of JavaFX vs rest ? JavaFX rulz.
March 12th, 2009 at 1:05 pm
Joke, thx. I didn’t know why it’s broken, I am sure yesterday it is still working.
Anyway, I have updated the Sample which will show the number of added images.
March 12th, 2009 at 4:20 pm
JavaFX doesn’t start for me. It just loads and loads (>1 hour now).
March 12th, 2009 at 6:10 pm
1. For UI editing you could try JavaFX Production Suite or export from SVG, but I also wait for visual editor. Blend and Flash Pro are extremely helpful.
2. I know that JavaFX applets take longer to load then Flash and Silverlight counterparts. Unfortunetly I can’t check whether your example loads much longer then Flash and Silverlight - for me it is broken and gives me the same exception as in first comment (but when java console is enabled).
3. Well this is a problem, but Flash also is better with swfobject.js. I don’t think jnlp will go away. And I don’t think it is a big problem, but still a problem for sure.
4. Yeah, in this regard I’d wish NetBeans would assist better (you used it as a editor, right?). API docs should do it for now.
5. Ouch!
6. You surprised me with this one. Silverlight and Flash are both similar, but still different and thus when you are a newcomer you have struggle a bit. How come being different is a problem for JavaFX Script? Is,in your opinion, learning curve very steep? I’ve found learning JavaFX Script a joy.
7. That’s a shame on JavaFX. Will see what Sun’s engineers will come up with in future with applet speed ups and other bug fixes and improvements.
One thing to note for JavaFX’s disadvantage is it doesn’t give user any clue whether applet loaded fine. It just displays spinning gif which doesn’t help - just look at Dowell’s comment. I’ll see if there is any bug report on javafx-jira.kenai.com related to that. If not I surely file one.
I hope you will reconsider putting JavaFX away for now. For some examples it would surely shine. Would you accept examples in JavaFX from readers?
March 12th, 2009 at 8:26 pm
[...] JavaFx vs Flash vs Silverlight (Terence Tsang) [...]
March 12th, 2009 at 8:28 pm
JavaFX not loading, fix the app…
March 12th, 2009 at 9:05 pm
I keep getting a spinning Java logo. Dare I say, typical Java.
March 12th, 2009 at 9:38 pm
The Java example simply doesn’t finished loading for me in Chrome
March 12th, 2009 at 10:12 pm
exception: null.
java.io.FileNotFoundException: JNLP not available: /wordpress/wp-content/uploads/FpsMeter/Carousel_browser.jnlp
at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.io.FileNotFoundException: JNLP not available: /wordpress/wp-content/uploads/FpsMeter/Carousel_browser.jnlp
don’t blame Java, it’s programmer’s error
March 12th, 2009 at 10:36 pm
Stupid comparison, even you did not said that the JavaFX source code contains a NetBeans Project and that it is the reason why its size is 399kb, Flash and Silverlight codes are just plain files.
Obviously you wanted to give us a bad feeling about JavaFX. Also your JNLP files is wrong.
March 12th, 2009 at 11:04 pm
Java app is not working fix it please
March 13th, 2009 at 12:26 am
“Java app is not working…”
=>
“Obviously the author of this post wanted to give us a bad feeling about JavaFX…”
March 13th, 2009 at 12:30 am
Come on…let’s waste time only on Silverlight and Flex, JavaFX needs to be better to compare..may be we can start to compare JavaFX with plain javascript, even the samples at the JavaFX web site don’t working, thank you ..this reforce my idea to work only with SL or Flex.
March 13th, 2009 at 12:43 am
Please don’t post buggy apps if this is an unbiased comparison.
exception: null.
java.io.FileNotFoundException: JNLP not available: /wordpress/wp-content/uploads/FpsMeter/Carousel_browser.jnlp
at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.io.FileNotFoundException: JNLP not available: /wordpress/wp-content/uploads/FpsMeter/Carousel_browser.jnlp
March 13th, 2009 at 2:15 am
hi all, I have no idea why the app doesn’t show up. I am sure it was working fine once depoyed. However, after a couple of hours, the app stop loading again.
I think I have to point out 2 things:
1. /wordpress/wp-content/uploads/FpsMeter/Carousel_browser.jnlp is always there. May be there is some settings problem that lead to the Java located the file wrongly.
2. I just don’t know why the app has to load another file. May be there is some ways to embed everything into one jar file.
Anyway, I have redepoyed again and tested with IE 7 and Firefox 3. Please let me know if it disappears again.
March 13th, 2009 at 2:20 am
Still doesn’t work. But this time it gives feedback that there is Carousel_browser.jnlp missing.
March 13th, 2009 at 3:05 am
Carousel_browser.jnlp
============================================
Carousel
JavaFX Samples Team
Carousel
============================================
I’m not expert, but why do all paths start with “localhost”?
March 13th, 2009 at 3:25 am
thx evgeny, I think I have found out the problem from reading the .jnlp file.
There are few kind of deployment methods and the Carousel_browser.jnlp will actually store some configurations. And the configuration itself will affect the execution path of the application.
I think JavaFx have some kind of loading procedures. (Don’t you think it’s a bit complicated?)
Anyway, I have edited the Carousel_browser.jnlp manually and I am quite sure this time the app is working perfectly.
March 13th, 2009 at 4:44 am
it works for me… using firefox
March 13th, 2009 at 6:00 am
=>
“Obviously the author of this post wanted to give us a bad feeling about JavaFX…”
March 13th, 2009 at 9:10 am
[...] JavaFx vs Flash vs Silverlight [...]
March 13th, 2009 at 9:41 am
hm… you didn’t say much about Flash and Silverlight, but from what I see, Silverlight seems to be the fastest.
Does everyone agree?
March 13th, 2009 at 2:18 pm
@Rafferty, I noticed that.
You can add 5 more images into each of them and you will see a big speed drop on the Flash example. The drop is very visible.
March 13th, 2009 at 7:55 pm
Flash runs faster and smoother in Firefox for me. On IE silverlight seems to be faster.
March 13th, 2009 at 8:21 pm
I am better my future on Silverlight; however, JavaFx runs smoother and much faster than Silverlight on my machine - Vista 32, IE7
March 14th, 2009 at 12:59 am
After adding 13+ images JavaFX runs pretty faster, Siliverlight comes distant 2′nd & Flash is in 3′rd spot - XP 32 Chrome/FF/IE.
Does this give fair idea about performance. Although start up time is a big concern JavaFx looks to be solid both from performance & code wise.
March 15th, 2009 at 5:36 am
To me JavaFX spent a lot of time to load but work fine.
March 15th, 2009 at 5:40 am
@Roger: Silverlight zip file has all the Visual Studio project files and solution files. The author need to put all the files to another person reproduce the example easily.
March 16th, 2009 at 9:39 am
Just to add a notice. If you run all the all applications together, I believe difference users will generate different results. It is because the first running application can actually get more CPU time than other.
For example, once you have added about 30 images in Flash version, you will find the Silverlight and JavaFx will extremely slow.
March 16th, 2009 at 11:26 pm
[...] Enlace [...]
March 17th, 2009 at 11:23 pm
I am using Ubuntu 8.04 with sun jdk 1.6 and FX version is way faster than flex. Silver light would not load as I do not have plugin installed in my firefox and MS site says ” Microsoft Silverlight may not be supported on your computer’s hardware or operating system. “. What can I say, I just fear the day when my bank decide to use Silverlight and tell me that I can not withdraw my money cuz I dont use windows.
March 18th, 2009 at 7:34 pm
Hello,
it could be nice that Sun put out JavaFX, if Flash did not exist. It was there long before to make up an alternative to writing applets. Everbody has it, everbody trusts this plug-in, (nearly) anybody needs to install this plug-in since it comes with the browser installation. And now comes JavaFX. Is that something consumers and companies were waiting for all the time? Unfortunately no.
Sun put a lot of power in creating JavaFX. Since JavaFX doesn’t help me to create business solutions, I think they would have helped all the Java developers out there better by creating a nice GUI builder or putting (more) effort in Eclipse’s Visual Editor project. (Please do not come up with Matisse, it uses just one layout manager and produces code which is hardly maintainable [if nothing changed dramatically there].)
Swing isn’t that bad (just have a look at the SwingX project, https://aerith.dev.java.net/, and http://www.jgoodies.de). I worked for a company developing a lot of usable and well-performing browser and desktop business applications in a reasonable time (these three things is what counts). Java is already usable for browser applications. This is not really Sun’s building site. What me and a lot of other developers missed all the time was a decent GUI builder to speed up.
Regards,
Dirk
March 18th, 2009 at 9:34 pm
First, that’s officially JavaFX, not JavaFx. Yes, case is important! ;-)
I haven’t seen the Silverlight demo, as I don’t feel like installing yet another browser plug-in of little use (that’s the first page I find requesting this plug-in! :-))
The other two demos worked fine out of the box (I do have JavaFX SDK installed). JFX applets seems to run faster, but it isn’t easy to tell: one display the number of images but not the FPS, the other do the reverse!
Some of your arguments are a bit strange (1: I am a programmer, so it doesn’t annoy me. Plus as you point out, the project is still green, and more is to come; 3: Why is that a problem? JNLP files are small text files, no more annoying than .js files used to bootstrap such applets; 6: I could say the same for ActionScript and Silverlight+C#).
It is a bit biased to compare a new, unfamiliar language to ones you master already.
But well, your post was interesting, overall.
March 18th, 2009 at 9:53 pm
To complete Nitz’s complaints: Ubuntu Intrepid, Firefox 3.0.7: After installing Novell’s Moonlight: “Moonlight was compiled with 1.0 support, This page requires 2.0 support”
March 19th, 2009 at 9:29 pm
JavaFX is at least 2 times faster than Flash.
OS: Ubuntu 8.04 AMD64
Java: sun-java6 update 12
Flash: 10 AMD64
March 20th, 2009 at 1:15 am
sl3 kicks flash :p
March 21st, 2009 at 5:56 am
And I thought Flash was bad…JavaFX sets the record for the most scrappy media application.
March 24th, 2009 at 5:58 pm
When I try to scroll, why is that javafx takes some time for a proper display??
..silverlight and flash are fine though with my up and down scrolling…this has to do something with my browser or javafx?..
April 2nd, 2009 at 4:33 am
tried example loaded pretty well. AND javafx is smoother, beats flash in performance. The authour is horribly biased!!!
April 2nd, 2009 at 11:38 am
HI, I add 20 images to all 3 application and I found that JavaFX display each of them well on the middle where those images stack on each other. Flash or Silver light has on display those 20 images well. I guess JavaFX is trying to display it well and thus sacrifice the speed.
April 2nd, 2009 at 11:39 am
Sorry, miss typing or copy and paste. I mean flash and silver seems to have problem on display those stacked images in the middle.
April 7th, 2009 at 3:31 pm
where is fps-es with JavaFX?
April 11th, 2009 at 12:28 am
There is one big problem with this sample, I added about 30 images in each, and as I add images the whole things looses performace, also you will notice that as you go down the stack
Java
Flash
Silverlight
the performance gets slower, you will notice that the FPS drops considerably.
But if you single out, so you show one at a time they go up in speed, to a good 30FPS.
I don’t know why this happens but my guess is thing that are lower on the stack gets less processing time or something like that.
I agree with problems described by the poster. I had a long time wait before loading, also as I scrool down a get the host images that after adding a lot of images, they dont go away, they stay on the screen forever.
Anyways I have worked with 2 of the 3, very satisfied with them, but now I have been full time .NET programmer, then what makes sense is to use Silverlight, why relearn something if you already know something else that does the same.
And by the way no technology is perfect…
April 20th, 2009 at 9:52 am
javafx rocks. i’m using safari & leopard. While moving the browser’s scrollbar, flash’s fps drops to ~10… this doesn’t affect silverlight & javafx. But javafx runs smoother & faster.
hey but silverlight seems cool too (with moonlight).
April 24th, 2009 at 6:57 pm
“It will leave out some “ghost images” when you scroll between the page.”
In fact, it’s not a new bug. This IE-only issue was reported in 1999 but never got fixed in the following ten years. Perhaps it may never be fixed as Microsoft does not support Java.
The only workaround is to use Firefox. However, only less than 30% are using Firefox. Besides, Java may hang Firefox randomly. this bug has been also been known for years.
To makey JavaFx attracting, these two issues have to be fixed at first.
April 29th, 2009 at 6:07 pm
Can any one have comparision sheet between silverlight2 and flash10
May 4th, 2009 at 7:32 pm
Hi, nice post. I have been thinking about this issue,so thanks for writing. I will certainly be subscribing to your blog.
May 10th, 2009 at 3:18 am
I want to replace my Flash animation with JavaFX on my web page. So I created a simple app using NetBeans 6.5 with JavaFX. The app compiled and ran in NetBeans so I uploaded the jar and jnlp files to my server. However, the load times for the app on my web page was way too long. The programmers at Sun must know this problem and I am waiting for a solution.
May 14th, 2009 at 12:32 am
As both Eric and Ilya Sterin have pointed out, Sun is putting the cart before the horse. It’s all about deployment, deployment, DEPLOYMENT!
Even if the technology is in the beta stages at the very least make the deployment as seamless or transparent to the user as possible. This is something that both Adobe and Microsoft have figured out early and quickly. But for some reason Sun seems to have it’s head so far up it’s butt it doesn’t seem to realize it will not succeed on the desktop market if it’s deployment is anything but straightforward. Security prompt dialogs? 5-10 minute downloads for a 800kb webstart demo? 5 years ago this would have been acceptable but come on Sun you keep hyping up these technologies yet you consistently fail to deliver.
Is it incompetence? Arrogance? Lack of Vision? Or maybe it’s just lack of good leadership where sun has now inevitably slid into the abyss? It’s 2009 now and Sun has been bought out by Oracle. I would of prefered IBM but something tells me that at the very least Oracle won’t hype but actually implement technologies they are committed too whatever they may be.
May 17th, 2009 at 12:57 am
[...] [upmod] [downmod] JavaFx vs Flash vs Silverlight!!! (shinedraw.com) 1 points posted 2 months ago by SixSixSix tags javafx flash imported saved [...]
May 22nd, 2009 at 11:09 am
unbiased feedback:
Flash is the smoothest, next is silverlight (w/c I’ve just installed), is good. Both of them I’ve abused with lots of images but still both is usable.
For JavaFX, I’ve added 33 images, and it’s gasping for air after it losses focus in the browser. Not usable..:(
btw, I’m a novice to intermediate Java prog, frustrated bec eclipse is doesn’t have themes w/o hacking lots a things, and around 90% of helloworld programs that use eclipse requires you to do some hacking, and I only use eclipse bec everywhere I go, it’s eclipse, dunno why
any latest news on Oracle Sun? I think Oracle will dump JavaFX (haha big bet!) bec I’m really hoping that Oracle would invest in making Java a fast language as it did with DBMS, dunno how will that happen (maybe change “hibernate3″ to “hibernate polar bear” :D haha) but my experience with Java has been really bad, everthing is slow, especially the web app I maintained that uses Appfuse, loads of frameworks and xml…….
May 31st, 2009 at 12:12 am
JavaFX is what? JavaFX is not gonna change or add anything to the internet world today. JavaFX came too late. I mean years. Since Flash dominates the internet world, Silverlight can’t even survive. I can’t see why developers would change to use JavaFX since Flash is being used just in almost every sites. And the big impact of Flash is also because of major website like youtube.com, imeem.com and many other are happily using Flash. Through my experience (Individual web developer), I would always stick with those of very popular languages because I can just find help in a second. Unless JavaFX will make a huge difference so that we can’t find it in Flash. Currently JavaFX is a loser. And I have no idea about Siverlight.
June 11th, 2009 at 12:40 am
@Neutral…you are high man. Silverlight will get the blessing of thousands of Microsoft enterprise developers who can port their skill set from the .Net world right into Silverlight. Plus Microsoft is throwing big resources at Silverlight, I would expect it only to become more feature rich as time goes on. It will be the same with JavaFX adoption, lots of Java folks out there who might want to add a RIA front end to their apps without going to Flash or Silverlight, though I believe JavaFX will have a smaller following then Flash and Silverlight. Nothing against Flash/Flex, it will be a powerful RIA development option that is used by the majority for years to come…but it won’t be AS dominant going forward.
And then there is Unity 3D. It is for game development, but the plugin’s potential capabilities kick Silverlight/Flash/Flex/JavaFX @sses…it only Unity would bring effort to bear on making Unity 3D an enterprise LOB development app instead of just a game development platform. As we see time and again, victory doesn’t always go to the strongest..
July 2nd, 2009 at 7:46 am
Nice comparison and examples, Good to see actual code and running exampels than just opinions and articles for a change.
It’s not all about speed, it is also about being able to maintain the codebase and interoperability.
July 4th, 2009 at 3:23 am
It’s not a matter of comparing which will dominate the web in the current and coming era, i think Sun’s JavaFX will provide something new and special in the next versions, also, i think it’s time to use something other than Flash, plus, having more than 2 compitiors means better features development speed up, then let’s see who will do the best.
July 7th, 2009 at 3:45 am
Java is free, it has that going for it. You don’t have go out and buy commercial editions of visual studio that cost you every year per machine you have it installed on.
One or Two more releases of java and JavaFX could well start taking some of the market.
From what I can tell the main thing that takes times is the downloading of packages associated with the JavaFX app (which is controlled to some extent by background loading, and wher eyou put the data) and the validating of jar files.
They have mentioned in the docs that putting everything into the jar files hampers loading, putting it online and reading from web services is better. (apparently)
July 7th, 2009 at 3:58 am
JavaFX is just about there, I just hope they sit back and think about deployment instead of trying to keep up with the animation features of Flash/Silverlight whatever. I was happy when they brought out the jnlp file support for java applets, now they need to finish the rest of it.
It needs to be plonked onto the webpage, and it needs to load, and it needs to load fast. No more than 3/4 seconds to initialise (after initial download) and a much better progress window (a cup with something twirling around it does not help anyone). It should have a visible start and end. Users are not patient!
Also, I have found javafx samples to be not very responsive at times, you click and it seems to stand there trying to make a decision about whether to ignore you or not. Sometimes it does.
While I’m at it, I never did find a way to conveniently sign jar files programmatically, so generating data for java applets seems like a pain in the butt as you have to find a way to sign it automatically (in whatever language you’re using).
Also, why do I have to send arguments about how much memory I want to make available to the app? So you double click a jar file to use it as an executable file, how can you pass those arguments then (for the user not youself)? There should be a convenient way to say easily in a manifest, use whatever you want to use (like is acceptable on a desktop).
Ahh I’d better stop now!
July 8th, 2009 at 5:22 am
Hi
JavaFX is relatively new. BTW there is new version of javaFX. Please point you runtime to 1.2 rather than 1.1 which is faster.
Thanks
July 9th, 2009 at 4:36 pm
I just downloaded 1.2 and I confirm its faster to an bordering acceptable level, but I also noticed I got a speed up after signing the jar files… the thumbnails loaded instantly instead of slowly after the applet had started.
July 11th, 2009 at 7:52 am
Javafx is very far from java. I was expecting something syntactically closer to java than javascript. It’s inferior to Silverlight. I have compared both today.
I am learning silverlight now as well as c#. for me it’s time to move on to .net
the sun engineers are not good at languages. you have to remember the only language they came up with is java and they just did it by picking features from other existing languages. even their solaris, they bought unix and renamed it solaris. these guys are just hardware engineers who want to convert to software engineers. unfortunately they don’t pass. they can’t do something for the masses. java itself is a mess, today if you want to write some web apps , the amount of technolgy you have to learn is disproprotionate with the work you are producing, and that’s why you had all those open source frameworks , like spring, struts, wicket etc….
look at the mess with servlet, jsp, jsf , jstl, el etc…. WTF ARE THEY DOING? DIDN’T THEY SEE THERE WAS A PROBLEM RIGHT FROM THE BEGINNING?
July 11th, 2009 at 4:59 pm
Did you compare Silverlight on all browsers and all operating systems? Because only that would be a fair test.
I have to half-disagree with you in the way that I think the amount of stuff you have to learn (and buy) to develop .net apps is also excessive, especially where asp.net/data binding etc is concerned (not so much c# apps).
Personally, after 10 years as a microsoft developer, I dislike and am tired to hell of using GUI’s to develop software. I want to get to the point. I’m sick of halts and delays compliments of microsoft and their overly bulky software that most computers cant handle fluently. This drag and drop code thing has never appealled or made things any easier. It just gives more things to go wrong.
I have to admit I’ve always started faster with java.
Most of all I’m not sure I like what Microsoft are trying to do.
But at the same time Java drive me up the wall. They just released a new netbeans 6.5.7 but the javafx plug-in is absent from it, apparently coming soon. But erm… didnt we already have it for Netbeans 6.5.1? Explain!!
NOt to mention the 10 million gui applications they bring out to help you. I did find that with java I started very quickly coding, but with Microsoft
When VS2008 first came out I’ve never seen so many bugs in my life. I felt like throwing the laptop out of ther window.
Problem with microsoft is that I have grown over years to dislike “studios”. I find I spent too much time learning about how to use the development GUI’s (if you can afford them) and not enough time getting to the point, which is contrary to their intention I’m sure.
I do agree that common functionality should be modularised and reused and reinventing the wheel is a pain.
That drag and drop system of data adapters, and data binding seems practical only through code. I tried again and again to get something useful out of their design view and it never happened. All the video samples I watched just didn’t demonstrate anything practically useful.
You ultimately end up coding your way into it. So there we have more promotion without product.
July 22nd, 2009 at 1:25 am
Hello my friend.
Flash is pretty cool and very used today, but as platform has not the power of java neither .net, cant even compete. So can see a future of javafx-java and .net-silverlight cool applications, and flash as a tool used in smaller projects or in websites based on “web pages”.
The performance and tools of javafx and silverlight will be better with time so dont worry a lot for this.
To me it is about the power of the platform… javafx and silvertlight has a huge future.
July 30th, 2009 at 1:43 pm
check the latest 1.2 release. I built the app in 1.2 and it is only 70KB now so they have definitely addressed the code size issues. startup is still not optimal , I hope that is improved soon
September 18th, 2009 at 12:22 pm
Sun is putting the cart before the horse. It’s all about deployment, deployment, DEPLOYMENT!
Even if the technology is in the beta stages at the very least make the deployment as seamless or transparent to the user as possible. This is something that both Adobe and Microsoft have figured out early and quickly. But for some reason Sun seems to have it’s head so far up it’s butt it doesn’t seem to realize it will not succeed on the desktop market if it’s deployment is anything but straightforward. Security prompt dialogs? 5-10 minute downloads for a 800kb webstart demo? 5 years ago this would have been acceptable but come on Sun you keep hyping up these technologies yet you consistently fail to deliver.
Is it incompetence? Arrogance? Lack of Vision? Or maybe it’s just lack of good leadership where sun has now inevitably slid into the abyss? It’s 2009 now and Sun has been bought out by Oracle. I would of prefered IBM but something tells me that at the very least Oracle won’t hype but actually implement technologies they are committed too whatever they may be.
On a side note I’m hoping Java 7 (project JigSaw) solves these issues and is more much, much smaller, more reliable and a hell of a lot faster than what we currently have with the current jvms. But I’m also wondering if they are a couple years too late with Java 7?
October 4th, 2009 at 4:42 pm
May be the performance will vary from host to host. Because from early reply i have learned that JavaFx is very slow after adding 30 pics. and SilverLight is the fastest. Well, I have added 50 pics in JavaFx app. It is running very smooth, but i cannot see the FPS of JavaFx app. The next one is Flash. It is showing from 30-50 FPS. So, sometimes it feels that the app is slowing down. But SilverLight is showing about 25-30 FPS and sometimes it is very very slow. I think the FPS depends also on hardware capability of the host CPU. A CPU with powerful graphics should take a lot of pics @ high FPS.
I’d say :
Loading Speed:
1. Flash 2. SliverLight 3. JavaFx
Smoothness (Performance):
1.JavaFx 2.Flash 3.SilverLight
November 10th, 2009 at 12:54 pm
Isn’t it unfair to have all three running at the same time on this page? Aren’t they possibly stealing from each other cpu-wise.
Also I noticed that all examples seemed to only use about 20% of one cpu on my box. Not sure why–you’d think it would use at least 100% of one cpu…
odd
November 10th, 2009 at 12:54 pm
also add fps on the javafx example?
November 19th, 2009 at 6:21 am
Here is the comparison “table” of 3 technologies on my system (Flash10, SL3, Java1.6.0_15-b03, CPU core2duo 2GHz, WinXP, IE7). Note: JavaFx uses only ONE core of processor and I placed CPU usage for it for this core only. It means that totall system usage is half of this value for my 2 cores. On FF3 Flash CPU usage starts from 80%
50 pics:
CPU: F 40, SL 90, J 60 (1core)
FPS: F 29, SL 55, J smooth
JavaFx wins
100 pics:
CPU: F 90, SL 95, J 90 (1core)
FPS: F 10, SL 17, J smooth
JavaFx wins
150 pics
CPU: F 99, SL 99, J 100 (1core)
FPS: F 2-3, SL 5-6, J stuck on 130 pics
Silverlight wins (also with more pics)
Loading:
1. Flash 2. SliverLight 3. JavaFx
November 27th, 2009 at 7:31 pm
Sun needs to spend _a lot_ more time on the applet runtime before I’m even considering poking JavaFX with a loong stick.
November 29th, 2009 at 11:50 pm
After adding 30 images
Flash sucks
Silverlight holds up
JavaFX flies
Any way Java technologies are not for building toys.
December 19th, 2009 at 11:24 am
JavaFX plugin still doesn’t load for me (Ubuntu 9.10). The rest two work fine.
December 30th, 2009 at 11:11 am
The transition of images at the front(coming from bottom to top to bottom) looks smoothest in JavaFX while in other 2, the images flicker, Don’t know, maybe its the code.
January 18th, 2010 at 5:05 pm
I added 100 images to javaFX, it ran smooth.
A slowdown on flash and silverlight after a lot of images
XP, SP3, FF3.6
I’m betting on JavaFX.
I’ll leave the other stuff for situations that dont require a hammer - example my blog, soccer league site, electronicsc hobby site and so on
February 3rd, 2010 at 12:33 pm
I don’t know if it has been mentioned anywhere (76 comments are tough to scan throug) but running all of the three animations side-by-side and scrolling the page, the most stunning difference was that both - Flash and Silverlight actually froze while I was scrolling and JavaFX run smoothly regardless of scrolling — that wih a sane amount of images (3-5), might I add…
February 16th, 2010 at 7:27 am
It’s a useless comparison, when you cannot stop one, since they affect each others performance.
February 19th, 2010 at 4:10 am
Its unfair to compare with older JavaFX version 1.1 with latest flash, silverlight, you need to update the JNLP to point to latest JavaFX 1.2.3 .
March 24th, 2010 at 9:23 pm
It seems like the Javafx animation is a bit different, it has a bit of a different shape to it and after adding more than 15 images or so I only ever see the face of one logo. I wonder if this may also account for the increased performance.
March 29th, 2010 at 2:55 pm
[...] recently run across a JavaFX plugin for the first time while researching this article and it was a Flash-Silverlight-JavaFX camparison. One in which JavaFX looked pretty shabby too. The download, after I accepted it, seemed to take [...]
April 16th, 2010 at 4:48 am
[...] libertad de realizar un test yo mismo y llegué a un resultado bastante interesante. Encontré un simpático test comparativo navegando por la red en donde se presentan, frente a frente, JavaFX (éste lo pueden obviar [...]
April 16th, 2010 at 5:27 am
If from IE you zoom out to 50% or you zoom in to 200% Flash and Silveright will zoom accordingly, while instead Java FX does not zoom at all (try to zoom this page at 50%). What is the reason of this surprising difference?
April 17th, 2010 at 12:29 am
So unfair comparison, flash icons sucks while you should use the same from sliverlight test.
You may not know, or know very well, Silverlight sucks resources from other plugins or system processes, so comparing them in the same page is just wrong. You can can make a easy test looking how fps changes. If you add images to flash both animation get slower, if you add images to silverlight flash fps drastically slow down way more even if you don’t touch it.
May 10th, 2010 at 5:48 am
[...] Flash vs. JavaFX vs. Silverlight [...]
May 19th, 2010 at 3:45 am
JavaFX 1.3 been just released lately … Any chance to see some updates into your demo, reflecting it ?
June 8th, 2010 at 10:06 pm
Java Plug-in 1.6.0_20
Using JRE version 1.6.0_20-b02 Java HotSpot(TM) Client VM
Exception in thread “AWT-EventQueue-5″ java.lang.ClassNotFoundException: carousel.Main
at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
at sun.plugin2.applet.JNLP2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.sun.javafx.runtime.adapter.Applet.launchStage(Unknown Source)
at com.sun.javafx.runtime.adapter.Applet$1.lambda(Unknown Source)
at com.sun.javafx.runtime.adapter.Applet$1.invoke(Unknown Source)
at com.sun.javafx.runtime.adapter.Applet$1.invoke(Unknown Source)
at com.sun.javafx.runtime.Entry$2.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
June 10th, 2010 at 6:32 am
Wow. it very nice control.
August 23rd, 2010 at 5:30 am
Thanks for the three samples.
I like the concept of javafx: There is no seperation of XAML and code like in Silverlight (WPF). The code seems to be easy to read. But deployment is a pain in the ass (jpnl files). Implementation sucks too. I wonder if it is possible to create a decent WYSIWYG editor for a script-language like JavaFX.
August 23rd, 2010 at 1:54 pm
javaFx didnt run at all,
flash seems smoother than SilverLight, silver light lagged a bit and left some ghost footprints when there are many images, while flash kept decent performance at all times
August 23rd, 2010 at 1:55 pm
google chrome btw