Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
What's the difference between Registry.rebind and Naming.rebind?
Joined: Mar 12, 2010
Mar 12, 2010 01:47:36
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:
Remote robject = new RemoteObject(); Registry registry = LocateRegistry.createRegistry(1099); registry.rebind("HelloRMI", robject);
Remote robject = new RemoteObject(); Naming.rebind("HelloRMI", robject);
Both ways work fine with my application, but what's the difference between them? Should i use any particular one?
Joined: Mar 22, 2010
Mar 22, 2010 03:21:37
Is anybody there to answer this?
I also want to know
Joined: Apr 01, 2007
Apr 02, 2010 10:18:13
Question raised in Certification forum with valid answer
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: What's the difference between Registry.rebind and Naming.rebind?
RMI Naming and registry
Naming.rebind() failing to connect to a running registry.
Registry.rebind or Naming.rebind ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013