简体   繁体   中英

How to - Flex client side and Java as Server side

Since I'm developing a multiplayer card game for Facebook using Flex as client side and Java SE as server side, I wanted to know how do I actually make the connection between Flex and Java? the server and client should be able to send each other data(cards,movement,room information etc...) across and I wonder what's the easiest way to do it without complicating it. Any idea how to do? where to read about it ? I know JAVA but I find JavaEE hard to understand. Any help will be appreciated, thanks.

You can pay Adobe a lot of money and use their enterprise products.

Alternatively, you can use the open source BlazeDS , which allows you to communicate with plain text (direct HTTP) or using the binary AMF protocol with object serialization.

Also, if you are thinking about using JSON, as3corelib will help you on the Flex side.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM