Hi Jonathan,
Your local computer is commonly known as "localhost" or "127.0.0.1". Most computers also recognise "localhost.localdomain" and any address in "127.0.0.0/255.255.255.0".
Additionally if your computer is part of a LAN or WAN, you
may have a permanent name / IP address assigned to it. If you are using DHCP or getting your IP address through some other dynamic means, you may not be able to use your hostname / IP address.
In the real world, servers are normally assigned a static IP address and their name / IP address are registered in the DNS. So you can then use their name in your calls to the registry.
Do you guys think it is ok that I only create the registry on the local host?
Yes - but I would explicitly use either "localhost" or "127.0.0.1" rather than having it default.
What is the 'url host name' if the registry gets created on the local host?
That is if you want to fully spell out your URL. As you have noted, you can leave out certain parts of it if you want to go with the defaults.
Should I be able to run the server on one machine and then get the registered object from another computer on the network (I mean this must be yes for it to be any use but just to make sure)?
Definately yes.
You should always be able to get the service from a remote machine on a
LAN by using the IP address (assuming no firewall is in the way).
Additionally, if the remote machine has it's IP address / hostname registered in a DNS, you should be able to get the service from a remote machine on a
LAN by using the hostname.
Additionally, if the remote machine has it's external IP address / hostname registered in a DNS, you should be able to get the service from a remote machine on a
WAN by using the hostname / IP address.
Additionally, if the remote machine uses NAT to get an external IP address, you
may still be able to get the service from a remote machine on a
WAN by using the hostname / IP address, but then you will have to follow Sun's recommendations on working through a firewall. This is far too advanced for this forum though
.
Regards, Andrew