System News
The Enterprise Side of JavaFX
Part 1 of a Series by Adam Bien
June 18, 2012,
Volume 172, Issue 3

In The Enterprise Side of JavaFX, Part 1 of 3 Adam Bien explains the use of LightView to convert REST services into a bindable set of properties, which he begins with links to downloads of Java FX, GlassFish, and LightFish. Bien explains that the fine-grained binding model allows clear separation of the view, presentation, and business logic. The SnapshotFetcher is independent of any JavaFX library, and its single responsibility is communicating with the back end and converting an InputStream into a Snapshot instance. The SnapshotProvider integrates the SnapshotFetcher with the JavaFX threading model and implements the periodic fetching of Snapshot instances in the background. Both classes supersede the classic Business Delegate pattern and they are the proxy to Java EE back-end services, he writes. With theSnapshot instance converted into fine-grained properties, the SnapshotPresenter holds together the back-end services and the view logic. The DashboardPresenter entirely decouples the view from the implementation of the datasource and makes the realization of the view more convenient. To receive monitoring data, a view only has to bind its view components to the published SnapshotPresenterBindings interface, Bien concludes. In part 2 Bienwill will discuss the structure of the dashboard from the view perspective as well as the direct integration of the JavaServer Faces 2 UI with WebView.

More Information

JavaFX 2.1: Update on New Documentation and Tutorials

Read More ... [...read more...]

Keywords:

fullsource
 




Other articles in the JavaFX section of Volume 172, Issue 3:

See all archived articles in the JavaFX section.





Popular Articles in Vol 183, Issue 3


News and Solutions for Users of Solaris, Java and Oracle's Sun hardware products
Just the news you need, none of what you don't – 42,000+ Members – 24,000+ Articles Published since 1998