Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bingo game Java server architecture

Tags:

java

I am planning to develop a multi-player turn based web bingo card game using Flash for client UI and java based application for server. I need to decide whether I can use Sockets from Flash to communicate with Java or web service calls from the Flash Client. The requirement is that we need to send the random generated bingo card data to the browser based players from server and also need to store players data to the database.

Please suggest which architecture will be better like using Sockets or Web services invocation

Thanks

like image 342
js4learn Avatar asked Dec 19 '25 22:12

js4learn


1 Answers

I prefer Web services because

  • not dependent on firewall rules for clients
  • no need of implementing of a low level protocol (necessary for sockets)
  • XML is easier to extend in the future
  • security infrastructure with HTTPS available and easy to implement

You might want to look at WebSockets (part of HTML5)

like image 149
Thor Avatar answered Dec 22 '25 12:12

Thor



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!