Exadel Flamingo and Seam

Tuesday, December 15th, 2009

Earlier this year, I spent some time working on an application that provided CRM functionality to a client that provides teleconferencing services. This was a straight forward, data driven application implemented with JBoss Seam. You can read more in this case study.

Fast forward a few months. Sten Anderson and Bill Burlien told me they would be adding some geographic and financial charting and graphing screens to the application using JavaFX. I thought this was a great example of increasing our client’s productivity using an RIA technology. I wished them luck and looked forward to seeing the results. Not so fast, they asked me to modify the existing Seam application to produce binary responses so their JavaFX code could consume it on the client side.

It turns out this is a very easy task thanks to Exadel’s Flamingo product. Basically, flamingo allows you to expose Seam actions to RIA consumers, specifically Flex and JavaFX. And it is as simple as including a dependency and touching a couple of configs. Exadel has documented the steps very well here. However, early on, we ran into deserialization errors when sending collections of domain objects over the wire. We worked around this by executing native queries, in the JPA sense of the phrase, when returning collections. This worked very well, as did returning single results of domain objects. Bill and Sten deserve a lot of credit for being able to plug this data into meaningful and rich representations on the JavaFX side. I, like many others, believe in the growth potential RIA technologies have in the enterprise. The cost benefit will be realized in increased productivity by providing rich and intuitive user interfaces in business applications. It was fun to work on a project that achieved these goals

We demoed some of the early functionality at JBoss World in Chicago. Max Katz from Exadel wrote up a quick post about it. Check out the screenshot below. I am looking forward to more great features from the Flamingo product and seeing how we can leverage new features!

PRAdventPulse

One Response to “Exadel Flamingo and Seam”

  1. CITYTECH: enterprise application with JavaFX, Seam, and Exadel Flamingo | Maxa Blog wrote:
    December 15th, 2009 at 5:41 pm |

    [...] post by John Kraus from CITYTECH on how they used Exadel Flamingo to connect rich JavaFX UI to their [...]

Leave a Reply