X

Geertjan's Blog

  • December 8, 2011

JavaFX Wows JavaOne Latin America

Geertjan Wielenga
Product Manager

The scenario that's taken JavaOne Latin America by storm is this JavaFX application, hooked up to MySQL and deployed to GlassFish:

It really speaks to the imagination, doesn't it?

It's a sales application with lots of JavaFX gadgets, such as the expanding circle that you see above, indicating a new sale having been completed. The demo was shown at one of the keynotes, it's been running at the JavaFX booths, and I set it up at the NetBeans booth too.

A guy in a nice suit (an Oracle Platinum Partner) I talked to at the NetBeans booth said he'd like to change the US map to a Brazil map and then let the expanding circle indicate that a new plane has landed somewhere, i.e., he's from a government agency working in the air-traffic control industry. Anyone seeing it immediately "gets" JavaFX, i.e., sees it in a completely new light, with some of the key pieces fitted together, and that's the cool thing about this application.

Opened in NetBeans IDE, the following projects constitute the sample:

  • DataAppLibrary. Contains the database tables and ORM model to database tables.
  • DataAppLoader. Application that is run once to create the database, load all of the static data for the data app, and create some historical data.
  • DataAppServer. Web server that simulates auto sales, persists them to the database, and provides access to the database through web services.
  • DataAppClient. The JavaFX 2.0 client application.

 And here's the web app expanded in all its glory:

Finally, the Services window showing the database and the deployed app:

Seems to me like this app (assuming there'll be additional user interfaces on a smart phone and tablet, as well as a desktop console) is the Pet Store of the JavaFX world! An end-to-end tutorial is needed, for sure.

In short, the big buzz word here is JavaFX, it's what's being shown and asked about continually and the related sessions have been very well attended. There was even a session with Stephen Chin doing the JavaFX  story, with Arun Gupta doing the deployment angle to GlassFish. A match made in heaven?

Join the discussion

Comments ( 3 )
  • guest Friday, December 9, 2011

    It looks great, exactly the sort of thing I was hoping would be created as a showcase for what is possible with JavaFX. Of course the obvious question is, where and when can we get it:)

    Something I would love to see is a demo where an app is created along with commentary. Roman Strobl did this a few years ago (in the Netbeans 5.5 days) where he created a web service that used JPA. He then created a GUI using Matisse and consumed the web service. It really tied everything together in a way that static documentation can't quite do.

    Phil


  • Jasper Potts Friday, December 9, 2011

    Glad you like the application :-) its already available. You can run the client application as a applet from the link pn this page:

    http://javafx.com/about-javafx/

    Then the source code is available as part of the samples zip, downloadable from:

    http://www.oracle.com/technetwork/java/javafx/downloads/index.html


  • Nadilson Ferreira Saturday, December 10, 2011

    Hi there,

    Where can I find the slides from the Java One Latin America session?

    Thanks,

    Nad


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.