Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In this chapter, I described how to integrate Flex client applications with Java Enterprise Edition application servers using BlazeDS. You learned the following:
BlazeDS is a freely available, open-source implementation of the most popular features of LiveCycle Data Services.
BlazeDS supports the Proxy Service, Remoting Service, and Message Service.
The Proxy Service routes HTTP requests to remote domains, eliminating the need for cross-domain policy files.
The Remoting Service enables Flex client applications to call remote methods of a Java- based class hosted by BlazeDS.
The Remoting Service sends and receives messages in AMF, a binary format that results in much smaller messages than those that are encoded in XML and SOAP.
The Flex SDK's RemoteObject component is one of the three RPC components, along with WebService and HTTPService.
Data can be sent and received between client and server as simple values or as strongly typed value objects.
You can enable RDS with BlazeDS to support the definition of data connections in Flash Builder 4.