First of all, I would like to convey my apology for not using proper subject line. I was not sure what should I call my doubt . I have this query. Long time ago when I was a student I did a chat server project where multi users can do chatting using RMI technology. If I remembered it correctly, we had our machines connected through LAN and we were able to chat over LAN. I was wondering how can I improve this application to work over Internet. I mean users should be able to chat over Internet. One user would be logging into my the application which is posted some where in a remote machine and he should be able to communicate with others via Internet rather than over LAN. To be more precise, how do people play games over Internet.
I'm sure that my question is very vague as I'm not able to write it down what exactly my brain is thinking. If anyone could understand what I'm looking at, please give me some information on this.
RMI isn't restricted to LANs; it works just as well over the internet. Depending on how much control you have over the server, it may not allow RMI traffic, though. In that case you could still use it by tunneling it through HTTP (and you'd need a servlet container running on the server). That technique is described here for applets, but it would be similar for applications.
I am a man of mystery. Mostly because of this tiny ad: