Andrew Powell

Into The Mind of A Solutions Architect

Andrew Powell

What Does Spring BlazeDS Integration Mean for FlexServerLib?

January 26, 2009 · 2 Comments

This question has come up to me a number of times lately.   People are concerned that the Spring BlazeDS Integration will mean an end for FlexServerLib.  This couldn't be further from the truth.  There are two main reasons why this is not the end of FlexServerLib:

  1. FlexServerLib Extends BlazeDS - The goal of FlexServerLib is to extend BlazeDS. Extending it does not just mean tight integration with Spring.  Yes, we do use Spring for a lot of what's going on under the hood, but that's more of a testament to the power of Spring than an indictment of FlexServerLib.  There are some things that Spring's project just won't do, like a MailDestination for Messaging.  Granted, we may port our solution to both stand alone BlazeDS and the Spring-integrated solution, but it is independent.  We are focused on extending BlazeDS, not just exposing destinations via Spring Beans (although that is nice).
  2. Not Everyone Is Using Spring - As much of a shock as this can be, not everyone in the Java world is using Spring.  Some of our functionality that Spring will do easier, is not available to those using...say....EJB.  Well, we provide an easy way to expose EJBs as Flex RO destinations.  There is still a market for extending BlazeDS.
So, there it is.  BlazeDS and Spring is a great marriage, but it doesn't mean the end of FlexServerLib.

Tags: FlexServerLib · Flex · BlazeDS · Spring · Adobe · Universal Mind · Hibernate

2 responses so far ↓

  • 1 Jakub // Jan 28, 2009 at 3:24 AM

    FlexServerLib is a fantastic job. I was looking long time for solution like that. It enables my team to do most of the things which would not be possible with Sping BlazeDS integration. I only whish there would be more control over internals, like I don't necessarily want to send JMS header to flex client but that's minor detail.
  • 2 Chris Scott // Jan 29, 2009 at 8:50 PM

    We could probably add flags for parts of the jsm header to skip, but the reason we copy the headers is so that we pick up the client ids properly. The JMS adapter is listening to the queues and topics on behalf of all your flex clients, so we need to copy over client ids so that you don't get repeat messages. That being said, we may be doing things a bit aggressively, but I believe the built in jms adapter does the same thing.<br /><br />-C

Leave a Comment