Hi I am struck can you tell me the difference. I start a registry in the code using LocateRegistry.createRegistry and should i have to use registry.rebind("rmi://localhost/FlightServices:1099",new RemoteConnection()"); or Naming.rebind("rmi://localhost/FlightServices:1099",new RemoteConnection()"); What difference does it make? please explain Farouk
Farouk Mohamed1
Ranch Hand
Joined: Jul 26, 2001
Posts: 113
posted
0
Pleas guys Any one help me on this Farouk
Peter den Haan
author
Ranch Hand
Joined: Apr 20, 2000
Posts: 3252
posted
0
Your JDK has sources for the Java API - in Naming.java, it saysSo the method in Naming just delegates the real work to the Registry method. - Peter