需要在写配置文件helloworld_client.mxml时,加入endpoint="http://localhost:8080/BlazeDS/messagebroker/amf"
1.Channel和Endpoint的定义
Channels are client-side objects that encapsulate the connection behavior between Flex components and the BlazeDS server. Channels communicate with corresponding endpoints on the BlazeDS server. You configure the properties of a channel and its corresponding endpoint in the services-config.xml file.
2.从数据格式上分,Channels分为AMF Channel和HTTP Channel,区别在于:
The difference between AMF and HTTP channels is that AMF channels transport data in the binary AMF format and HTTP channels transport data in AMFX, the text-based XML representation of AMF.