Wednesday, March 25, 2009

JavaFX - the Java UI of the future?

If you haven’t downloaded and started playing around with JavaFX, it might be time to do so. Sun release JavaFX 1.1 in late February 2009. With this release, JavaFX Mobile is also released.

What is JavaFX? It is a rich Internet application (RIA) technology that runs on any JVM. It is meant to provide “all the screens of your life” as Sun likes to say; from desktop to mobile handheld to consumer device. Take a look at the sample application I wrote for an upcoming talk… as seen on the desktop, via Web Start, on a browser and in a mobile emulator.


JavaFX is a new scripting language based on Java, JavaScript, scalar vector graphics among other languages. JavaFX is and will continue to compete with Ajax, Adobe Flex, Microsoft Silverlight and other RIA technologies. It is a late comer to the RIA game. Some question if it might be too late to the game. Time will tell.

So why should you examine it? Unlike many of the other RIA technologies, JavaFX is not just for desktops. It again is designed for all the user interfaces/device screens that users encounter. While Java has always espoused to WORA, JavaFX has a chance to really bring WORA to the thousands of screens/UIs that Java supports. It also leverages the entire Java API. While JavaFX is its own scripting language, a JavaFX script can call on other Java classes and vice versa. Also, JavaFX apps run on the JVM. Finally, because it is like Java and JavaScript, it should be easy to learn and use. JavaFX is a declarative, expression, full object-oriented language.

Below are a few links to help you get going. Also, I will be presenting a free talk on JavaFX at Intertech on April 14th. You can sign up on our web site at http://www.intertech.com/resource/briefings.aspx. For those not located in the Twin Cities (Minnesota) area, the talk will also be offered from the virtual classroom so come join in the fun.

Lastly, look for my upcoming paper on JavaFX Mobile at DevX.com (http://www.devx.com/).


Some links you can use to explore JavaFX
JavaFX Website (Overview, FAQ, download): http://javafx.com/
JavaFX SDK version 1.1: http://javafx.com/downloads
Sun's JavaFX tutorial site: http://java.sun.com/javafx/1/tutorials/core/index.html
Free JavaFX tutorial offered online: http://www.javapassion.com/javafx/
Sun JavaFX building GUI tutorial: http://java.sun.com/javafx/1/tutorials/ui/index.html
JavaFX API Javadocs: http://java.sun.com/javafx/1.1/docs/api/
JavaFX language reference: http://openjfx.java.sun.com/current-build/doc/reference/JavaFXReference.html
JavaFX Blog: http://learnjavafx.typepad.com/weblog/2008/02/getting-plutoed.html

2 comments:

  1. It's "Scalable Vector Graphics", not "Scalar Vector Graphics"

    ReplyDelete
  2. Hi Jim I have been using JavaFX version 1.3 and I skipped the previous releases because Sildenafil Citrate recommended me that those releases still needed some fixes

    ReplyDelete