1.下载最新 BlazeDS 二进制版。
2.解压BlazeDS.war 复制其WEB-INF/flex 到 JAVA项目WEB-INF下
3.复制BlazeDS中/WEB-INF/lib 以下JAR包到JAVA项目 WEB-INF/lib下
flex-rds-server.jar
flex-messaging-remoting.jar
flex-messaging-proxy.jar
flex-messaging-opt.jar
flex-messaging-core.jar
flex-messaging-common.jar
commons-logging-1.1.1.jar
commons-httpclient-3.0.1.jar
cfgatewayadapter.jar
4.在JAVA项目 WEB-INF/web.xml中 添加
5.在JAVA项目 WEB-INF/flex/remoting-config.xml中添加
<destination id="helloJavaFlex">
<properties>
<source>com.xxx.oss.atu.flexplanmade.demo.HelloWorld</source>
</properties>
</destination>
---------------------------------------FLEX项目配置
根文件夹:C:/apache-tomcat-6.0.26/webapps/XXX
根URL:http://localhost:8080/XXX
上下文根目录:/XXX
输出文件夹:E:/sc/workspace_sc/UltraATU/WebRoot/JAVA项目
MXML:
希望有帮助...