BlazeDS allows Flex and AIR applications to connect to backend services and push real-time data. It provides remoting, messaging, and proxy services. The messaging service uses a publish-subscribe model with channels and destinations. Producers publish and consumers subscribe to messages. Simple polling periodically checks for messages but long polling and streaming maintain open connections for lower latency. Configuration determines which messaging protocol to use.