• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Using Internet to communicate

Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

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.
Posts: 43081
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
It means our mission is in jeapordy! Quick, read this tiny ad!
a bit of art, as a gift, that will fit in a stocking
    Bookmark Topic Watch Topic
  • New Topic