File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
    It's not a secret anymore!