Meaningless Drivel is fun!*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes DNS name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "DNS name" Watch "DNS name" New topic

DNS name

Pallav Grigo

Joined: Mar 29, 2002
Posts: 29
Hi all..i have a question about RMI and the the instructions, Sun says that you can ask the user to specify the DNS name of the server..does that apply to RMI..or can i give any name to the reservation service and bind it to the registry??
Bal Sharma
Ranch Hand

Joined: Sep 19, 2001
Posts: 273
Hello Pallav:
I think you can use only following as parameters to start your SERVER.
  • DNS name of the serve
  • Port number used by the server
  • Data files name
  • java.rmi.server.codebase
  • policy files

  • I used data file name to start server. When server is running I used policy file from client to connect server.
    Hope it helps. -Bal
    I agree. Here's the link:
    subject: DNS name
    Similar Threads
    Url rewriting
    Policy file question and readme question
    DNS name of the server
    How to know the DNS name or IP address of server with code?
    IS this Interface design OK