Hi Ranchers,
in my server start, i am asking the registry port, server port and host name (3 args).
i am using Naming.bind and Naming.lookup.
when i have to start the registry programatically , it works, irrrespective of the any_integer i am passing.
so i am planning to abondon the registry port input. i am also planning to keep at as it never hurts(just one more param). will it be OK. i am not sure though
,
it may turn out that the port/any_integer is the basic of RMI.
what is the use of the argument in LocateRegistry.createRegistry(int).
is Naming so superior, that it can find the registered obects in any port.
from 1.4 API
Creates and exports a Registry on the local host that accepts requests on the specified port.
please help!!!
Any notes will open a door to me in RMI.
[ March 20, 2003: Message edited by: aadhi agathi ]