This week's book giveaway is in the Spring forum.
We're giving away four copies of Spring in Action (5th edition) and have Craig Walls on-line!
See this thread for details.
Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • 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:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

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!