Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In this chapter, you've learned about Flash, and the Flex architecture. You've learned about how the Flash/Flex/AIR trifecta should fit into your architecture. You've learned about the features, and limitations, that may change the way your application works when talking to other services. We explored different ways to interoperate from Flex and then finally looked at setting up BlazeDS, an open source middleware project from Adobe. You learned how BlazeDS can help overcome inherent limitations (or, features) in the Flash platform and how to use the Spring BlazeDS integration to simplify deployment of the BlazeDS middleware with your application. We explored the push and pill types of services models that a client/server application might use and how we could take advantage of those using BlazeDS and Flex; this included how to expose Spring services to Flex clients in a synchronous and asynchronous fashion using messaging-based, JMS-based, and Spring Integration–based services. Finally, you learned about using the Spring ActionScript container to bring the same discipline and elegance to ActionScript programming that Spring Java brings to Java developers.