360Flex: Andrew Powell on FlexServerLib

Posted on May 19, 2009

Andy starts with an overview of LCDS and BlazeDS offerings. BlazeDS allows you to access your java objects on the server. BlazeDS is not a true server but instead a bunch of servlets and filters that you include. Blaze has no data management, no RTMP and no PDF generation.

FlexServerLib is an open-source set of projects designed to simplify java integration in flex applications. Andy mentions that many of the features in FlexServerLib are available in ColdFusion and specifically are coming in ColdFusion 9. FlexServerLib is made up of a MailAdapter, an EJB Adapter and dpHibernate. There is also a Spring JMS Adapter but Andy says to ignore it because the SpringSource solution is better.The mail adapter has a messaging based adapter with bi-directional send and receive as well as a remoting based solution. The EJB Adapter allows you to invoke EJBs via remoteobject.

dpHibernate allows you to leverage lazy-loading via BlazeDS. With "eager fetching", Hibernate will get your object and all child objects at once. This can be fine but isn't always the optimal solution and sometimes runs into issues with the AMF Serializer. With "lazy loading", Hibernate only loads child objects when they are requested. However, lazy loading doesn't work with BlazeDS and requires LCDS. dpHibernate offers a solution to get around it by intercepting lazy collections  on the way in and out.

Andy says that they are working on adding RTMP in BlazeDS via FlexServerLib. In addition, they will add more Spring-Flex integration and add REST exposure for remote services.

Finally Andy shows some actual code examples of some of the features in FlexServerLib.

You can find the slides for Andy's presentation at http://static.infoaccelerator.net/files/FlexServerLib.pdf

Comments

There are currently no comments for this entry...be the first!

Write your comment



(it will not be displayed)





About

My name is Brian Rinaldi and I am the Web Community Manager for Flash Platform at Adobe. I am a regular blogger, speaker and author. I also founded RIA Unleashed conference in Boston. The views expressed on this site are my own & not those of my employer.