• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

What is the answer rebind() and lookup() sould change?  RSS feed

 
Ranch Hand
Posts: 216
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

Regard

Arun
 
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!