Posts Tagged ‘javaFX’

JavaFX Tweeter Widget

August 10th, 2009

tmp89_thumb Twitter

Having just posted about JavaFX in spite that i think not many are actually talking about it or giving it a chance (and also to prove wrong those naysayers that say i only post on Silverlight or Adobe when it comes to RIA’s). What better way to legitimize a new way to do widgets and apps than with a Twitter Widget?.

So here enters Tweeter. It is a Twitter Widget that not only displays the host (the one who put the widget in the site) Twitter Stream but that can also be used as a in-place client so you can check out your Twitter Home Stream and post in it.




Tweeter forms part of JavaFX Samples Gallery. So you can learn how it was made and it can be downloaded and used if you are into JavaFX of course. The setback is that the performance from the widget and how it load will depend on the version of the Java runtime (how recent)  your visitors have. Encountering it can trigger a Automatic Java update or Java Update prompt if it cannot be loaded. Reason why i did not put it live here on this page.


JavaFX Is Now Good

August 10th, 2009


I try out JavaFX pretty much every 3 months or so. Have been doing so for almost a year now and i can finally said that JavaFX is now good. They recently finally released a update that enables it for Mobiles and they have been seriously tuning it for desktop use with the last two updates of Java.

The last time i tried out JavaFX it was still a trainwreck.  Even if i always have noted that JavaFX may well be a lot more powerful than Flex and Silverlight. In fact i am pretty much sure that it is more powerful.

However they got HUGE disadvantages against Flex and Silverlight and that Sun, now Oracle got vs Adobe and Microsoft. This continues to be the case. JavaFX even that it now has a mobile release, a devices release and the desktop reflects maturity. It will not be enough. Or it is not enough yet.

The Good

3 months ago or so, JavaFX had the highest CPU usage rate from all the RIA solutions. Now it seems to be lowest one and looks to get the best CPU performance rate i have seen. I tried this out in a Old PC, a Netbook and a Average Desktop PC with all JavaFX samples and the same amount of samples for Flex and Silverlight so i came very sure with what i was going to say here. So passing from worst to best in that crucial area,  In that time frame is nothing short of incredible and my props to the JavaFX team. It is a incredible evolution.

The bad

Last time JavaFX was excruciatingly slow to load. Any sample or any decent application was slower to load than any similar in scope  Flex or Silverlight alternative.

It is still the worst but by very very little. In some cases it maybe about even with Flex and Silverlight

The Ugly


Given that JavaFX is still essentially java at the base, That means that authorization and certificates are still a issue.  So every single thing done in JavaFX must be properly identified so it can load.

When it comes to “Load To Desktop” webstart apps it is not a big issue since the behavior and install experience is pretty much identical to .NET ClickOnce and Adobe AIR so it is to be expected.

But “Load In Browser” apps are another thing. Since usually you only need to identify them once and every time after they will load fine. This is based on who made it and how you authorized the maker. So if you encounter several apps from the same maker and you authorized the first app you encountered from said maker as a trusted party. All apps from that maker will just load every single time you encounter them in the future. If you didn’t marked it as trusted maker or the apps comes from a maker you have not authorized or encountered. Then each app will prompt you before it can load.

Complicated?, Not really. Annoying?, Not for me.  But for those users that could not stop whining about UAC in Vista having the nerve to prompt them once a day when it needed to?.  Oh you bet they are going to love (NOT) how JavaFX works. So this is something that needs to be seriously thought out and resolved.

My proposed solution is for Developers to be able to ask for “Clearance Keys” at Oracle so that the prompt only comes from not registered JavaFX apps or widgets. Well, it is just an idea that Oracle could steal from how oAuth works.


The greatest virtue and flaw from JavaFX comes from being tied up with the rest of the Java Runtime.

It gives it ubiquity and all the power in the world, but it makes it a big download, gives it a big installation footprint and makes it a power hungry install when compared with Adobe Solutions that comes in 5 separate plugins and Silverlight that is a single plugin install.

But this is a issue that i don’t find Oracle being able to develop a workaround that satisfies them, given what they would lose if they unbundled JavaFX to be on its own.

3.-RAM Consume

The worse for last. RAM consume continues to be off the charts for JavaFX. It even makes the worst Flex, Flash or AIR apps look lean and light in RAM consume if compared to JavaFX. So it is dead last in this one.

Were else you could see a simple tiny widget (in-browser) consuming over 100mb of RAM on its own or a simple desktop app consuming as much as 500mb of RAM?.  Only with JavaFX.

So i guess that such dramatic gain on CPU efficiency had to be loaded somewhere. In this case to the GPU and to the RAM.  But even as bad as JavaFX RAM consume is. It is logical they decided to go this way since any laptop and desktop now comes with at least 3gb of RAM and some form of GPU chip or card a lot better than what came as default two years ago when RIA were materializing.


I don’t know how much the Start Load, Authorization and RAM consume issues can be improved but if they manage to improve them even a 50%. That alone would make JavaFX a true contender for 2nd place in the RIA space.  A 1st place is something i find almost impossible for they to get and that will be battled out on and off by Adobe and Microsoft.  A 2nd place is possible even if quite hard to see it now. But a very close 3rd place is what Oracle should aim for now,  given they are still in a very very very distant 3rd place. But maybe in 3 months i will have to change my mind.  So lets see.

JavaFX Downloads


Sun Prepares To Unleash JavaFX

October 25th, 2008


With the release of Silverlight 2 and Flash 10 respectively. it is fitting for a lot of people to wonder about Java again. more specifically JavaFX. the Java initiative to compete for the RIA web with Adobe and Microsoft. JavaFX is a Script language for  Java. Java while it is still very prominent in the business and Enterprise side it is now a shadow of what it was compared to the late nineties when it dominated the consumer desktop for a lot web apps. Java Applets were the way to do big web apps back then. this of course changed with the insurgence of AJAX and Flash taking the center stage.

This is of course now changing again. Ajax and Flash are no longer enough for Fully Featured Web Apps. even with the insistence of Javascript innovation (Firefox, Chrome) in browser and Ajax Refining (IE8) this is not going to be enough to push the web and blurring of the web with the desktop.  Adobe responded with Flex (MXML) that is a script language applied with Flash and Silverlight that brings XAML and .NET to table. Java is pushing JavaFX Script in a implementation similar to Adobe Flash + Flex .

In order to unleash JavaFX. Sun is now also giving Java a restructuring and tweaking so it can be more agile. install faster, occupy less space and give out better performance. You only need to Download Sun Java SE 6 Update 10 to see how Java has changed. i downloaded it and i must say i had the same impression with it as i had with Flash 10 and Silverlight 2. it is a update that Refines and Extend what you already know and indeed bring more performance gains. Something that Java needed more than anyone else given it is the biggest download compared to Adobe and Microsoft plugins. JavaFX is a powerful contender. it carries more power than Flex and Silverlight but it also got a lot of disadvantages  in terms of performance and maturity compared to Flex and Silverlight that are now quite advanced in the run with each other. JavaFX was supposed (while not officially) to launch in alpha on the fall of 2007. this never happened and it launched in alpha 6 months or so after that. If JavaFX beta fails to launch in the fall 2008. it will be too late for them in the Consumer Desktop. they already face a tough competition if they manage to launch and even if they deliver something amazing it is unlikely they will be more than a 3rd place in the run against Adobe and Microsoft. unless Google haves a change of heart and decides to adopt JavaFX. but such a thing seems unlikely given their Google Ajax + Google Gears strategy.

Even then. this new java update is a step in the right direction for sun and it is good to have it. even if took years for it to finally arrive.

Java SE Update 10 Info

Java SE Update 10 Download (in case you don`t have it already)

via TC

Website maintained by Happy Shoe Media LLC