Wednesday, December 12, 2001 07:42 AM
You need real-time communication for an online board-game?
JMS is "just another messaging system". It can send text messages (as well as objects, binary data, etc.) from one client to another (via a server, of course).
I don't know the guarenteed level of service, but that usually depends more on the connection between the clients and the server (or the internet) than the actual messaging system itself.
If you want high-performance (real-time) communication, you'll need to take a page out of the online gaming book: use UDP to send frequent messages and don't waste time ensuring their delivery. The bet is being made that enough packets will be delivered that the game can go on without all the network traffic associated with TCP's guarenteed delivery.
If all you want is 'Chat', then JMS is going to do just fine.