Hey rancha i have a question this question i get many time but i confused so kindly ansered the question as follow
The RMI registry is rning on some port other than DEFAULT port what shoud be done to execute an RMI application?
1)Canging the port will not have any effect on the application. 2)The rmiregistry shoude command should be given for the new port. 3)The rebind() and lookup() method should be change? 4)The RMI registry can't use port other than default.
So which one is the answer of the above question i think 1
For running the RMI registry you obviously have to specify the port other than default. For looking up any objects from the registry, you first have to catch hold of the registry using LocateRegistry.getRegistry(). In this method you have to specify the port no. The lookup and bind method calls does not change