简体   繁体   中英

Java + Flash => event driven?

I've just received a request for an online backgammon game engine. It shouldn't be to hard to make as after all is essentially a chat program that moves pieces instead of showing text messages. I am basically a PHP developer but as I need event driven stuff (no pooling) I assume I could combine a java built core application and a Flash interface. Any suggestions to where should I look for some practical examples and maybe some advices?

Thanks

You can also build up the the Flash GUI with Adobe's Flex SDK . There are plenty of tutorials in the web for game developing with Flash/Flex. This, for example, is a useful site I found: Flash Game Development with Flex and ActionScript

For the Java backend you could use BlazeDS which provides highly scalable remote access and messaging.

BlazeDS uses two primary exchange patterns between server and client. In the first pattern, the request-response pattern, the client sends a request to the server to be processed. ... The second pattern is the publish-subscribe pattern where the server routes published messages to the set of clients that have subscribed to receive them.

Another possible answer may be using red5 or ElectroServer. Client is in Flash and Server plugins are Java.

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