• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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: 43026
  • 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.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic