Bingo game java server architecture

I plan to develop a multi-player turn-based card bingo game using Flash for the client interface and a Java-based application for the server. I need to decide if I can use Sockets from Flash to communicate with Java calls or web services from Flash Client. The requirement is that we need to send data with an arbitrary generated bingo card to the players based on the browser from the server, and also store the data of the players in the database.

Please suggest which architecture will be better, for example using sockets or web service calls.

thank

+3
source share
2 answers

I prefer web services because

  • independent of client firewall rules
  • ( )
  • XML
  • HTTPS

WebSockets ( HTML5)

+6

- RESTful. - .

  • , , -, .

  • - , 80, , , - , .

, Flash, , -, , - Flash cookie IE, firefox chrome, cookie .

0

All Articles