java flash 开发,让Java和Flash互相交谈

本文探讨了如何在Java应用中添加Flash前端并实现两者之间的双向通信。作者提到可以使用AMF(Action Message Format)协议,这是一种常用于Flash与后端系统通信的协议,同时提到了Flash与后端可以通过XML、SOAP或RESTful API进行通信。对于初学者,文中建议根据现有代码库选择最合适的通信方式。
摘要由CSDN通过智能技术生成

I have an application written in java, and I want to add a flash front end to it. The flash front end will run on the same computer as the java app in the stand alone flash player. I need two way communication between the two parts, and have no idea how to even start going about this. I suppose I could open a socket between the two programs, but I feel that there must be an easier way. Is there a nice part of the api in actionscript 3.0 that will allow me to access java methods directly, or will I have to resort to sockets? I am relatively new to flash, by the way, so any good guides would be much appreciated!

Thanks

解决方案

AMF is a messaging protocol commonly used to talk between flash and a backend system. There're several Java implementations, but I haven't used any of them so can't tell you which is best.

Flash can also talk plain old XML, SOAP or REST to the backend, so depending on your codebase that might be easier.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值