Naming.rebind Method
-
This is the method that we used in the Hello World application.
-
It works like Naming.bind("MyObject", obj) except that
it binds the reference obj
to the name MyObject, even
if that name already was bound to another reference. That is, it
never throws AlreadyBoundException.