Tim Moores wrote:
Secondly, it doesn't matter what language the server is written in. If you're familiar with Java -as your idea of using JME indicates- you might well use that for the server.
Ideally your client should be 'talking' to the server in something like JSON which means you really don't care.
However you should care about server 'push'.
User A sends a chat message, meant for user B
Message goes to server
Server does a lookup to figure out which device is user B
Once identified server pushes the message to user B device
And of course your client should be able to support server push.
If this is not feasible (mainly due to client limitations) you will have to rely on polling.