RedFX: connecting JavaFX to the Enterprise

A couple of months ago, I started to work on RedFX(http://redfx.org), a framework that enables aneasy connection between JavaFX client-based code and Java Enterprisebased backend code. I strongly believe that the connection betweenJavaFX and the enterprise in general is an important aspectin the chances of success for JavaFX.

The main reason I started to work on RedFX is that I needed something likethis in a number of JavaFX projects I was doing at LodgON. Initially, wewere writing lots of boilerplate code for doing REST-calls to a backend,parsing the result via the PullParser, or for synchronizing state betweenclients and a server.
However, there are some patterns that often come back, and mostapplications would benefit from a clear separationbetween the business functionality of the application and thecommunication and synchronization parts.

The RedFX functionality is partly inspired by theBlazeDSframework from Adobe. RedFX consists ofthree parts:

  • (remote) object synchronization: RemoteObjects can be shared acrossdifferent instances of JavaFX clients and a server.
  • messaging: JavaFX clients and Java Enterprise server code can publishmessages and subscribe to channels
  • WebServiceClient: make it easier to call remote resources using RESTand parse the result into a JavaFX object.

I am currently in the process of open-sourcing RedFX, and integrating it underthe JFXtras umbrella.I am pleasantly surprised by the activity on the jfxtras developermailinglist. The JavaFX – Enterprise connectivity is a very importantaspect. The more JavaFX developers are involved with this, the better.Integrating RedFX in JFXtras will enhance the quality, and make it moreaccessible.

var dzone_url = ‘http://blogs.lodgon.com/johan/RedFX_connecting_JavaFX_to_the_Enterprise’;var dzone_title = ‘RedFX: connecting JavaFX to the Enterprise’;var dzone_blurb = ‘RedFX: connecting JavaFX to the Enterprise’;var dzone_style = ‘2’;http://widgets.dzone.com/links/widgets/zoneit.js