JavaFX Wows JavaOne Latin America
By Geertjan on Dec 08, 2011
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?