aspose file tools*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "DNS name" Watch "DNS name" New topic
Author

DNS name

Pallav Grigo
Greenhorn

Joined: Mar 29, 2002
Posts: 29
Hi all..i have a question about RMI and the assignment...in 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??
Thanks.
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
     
     
    subject: DNS name
     
    Similar Threads
    DNS name of the server
    Policy file question and readme question
    Url rewriting
    IS this Interface design OK
    How to know the DNS name or IP address of server with code?