File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes General Computing and the fly likes Question on Aliases Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "Question on Aliases " Watch "Question on Aliases " New topic

Question on Aliases

krish chandru
Ranch Hand

Joined: Apr 27, 2001
Posts: 39
I am trying web application creation with tomcat.
My friend educated me that anyone in n/w can access my machine by http://<mymachine-name>/<app context>
I dont understand the concept behind aliasing.
How will a remote machine know that this alias is for my machine. As my knowledge goes a machine can be loacted only by the IP isn't it ? Who sits in the middle and do this conversion ? Is there any program running in the client to decipher aliases to IPs ?
Kindly enlighten
krish chandru
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
The network software handles the aliasing.
Moving to General Computing.

"JavaRanch, where the deer and the Certified play" - David O'Meara
Lewin Chan
Ranch Hand

Joined: Oct 10, 2001
Posts: 214
If you're talking about converting <my-machinename> to an ip address
In a TCP/IP network, generally name -> ip address resolution is performed by a DNS server. (discounting other things like WINS / LMHOSTS).
You shouldn't have to worry about who sits in the middle and makes the translation from name to number, it happens transparently. I'm sure that those people you have to write the actual socket implementation would disagree with me, but then I'm not as clever as they are

I have no java certifications. This makes me a bad programmer. Ignore my post.
I agree. Here's the link:
subject: Question on Aliases
It's not a secret anymore!