与以前flex连接java大致相同,只是需要设置RemoteObject的endpoint属性
如
<mx:RemoteObject id="com" destination="companyservice-all" endpoint="http://localhost/blazeds/messagebroker/amf " result="resultHandler(event)" fault="faultHandler(event)"/>
本文介绍如何在Flex应用中配置BlazeDS服务。通过设置RemoteObject组件的endpoint属性为BlazeDS的服务地址,实现Flex与Java后端的通信。
与以前flex连接java大致相同,只是需要设置RemoteObject的endpoint属性
如
<mx:RemoteObject id="com" destination="companyservice-all" endpoint="http://localhost/blazeds/messagebroker/amf " result="resultHandler(event)" fault="faultHandler(event)"/>

被折叠的 条评论
为什么被折叠?