22 March 2010
The Spring BlazeDS Integration Test Drive consists of a series of samples running “out-of-the-box” that allow you to get up and running integrating Flex (and Adobe AIR) with Spring in minutes.
In web.xml, the DispatcherServlet is configured to bootstrap the Spring WebApplicationContext as usual. In this simple configuration, all the /messagebroker requests are mapped to the DispatcherServlet.
In flex-servlet.xml, the BlazeDS message broker is configured as a Spring-managed bean using the simple message-broker tag. This will bootstrap the BlazeDS message broker.
With the message-broker in place, the Spring beans are configured as usual, and exposed for remote access using the remoting-destination tag.
In this Test Drive, we split the configuration into multiple xml files:
In your own web application, you can use a different configuration arrangement, including single-file configuration.