This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes What's the difference between Registry.rebind and Naming.rebind? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "What Watch "What New topic
Author

What's the difference between Registry.rebind and Naming.rebind?

Andrey Kozhanov
Ranch Hand

Joined: Mar 12, 2010
Posts: 79
Hello!

I'm new to RMI, and when i was writing my first "Hello, RMI" program i found out two ways of placing my remote objects to the registry:

1.

2.

Both ways work fine with my application, but what's the difference between them? Should i use any particular one?
Mohamed Jeleel
Greenhorn

Joined: Mar 22, 2010
Posts: 18
Is anybody there to answer this?
I also want to know
Abhijeet Nalawade
Greenhorn

Joined: Apr 01, 2007
Posts: 20
Question raised in Certification forum with valid answer here
 
 
subject: What's the difference between Registry.rebind and Naming.rebind?
 
Similar Threads
RMI Naming and registry
ClassCastException
RMI multithreading
Naming.rebind() failing to connect to a running registry.
Registry.rebind or Naming.rebind ?