Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Explain the methods of Naming class, rebind( ) and lookup()?

Answer Posted / janet

rebind()of the Naming class(found in java.rmi) is used
to update the RMI registry on the server machine.
Naming.rebind("AddServer",AddServerImpl);
lookup() of the Naming class accepts one argument , the
rmi URL and returns a reference to an object of type
AddServerImpl.

Is This Answer Correct ?    26 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

1062


difference between  ejb,struts,hibernate,spring and jsp

2873


What is message driven beam?

1070


What is the relationship between local interfaces and container-managed relationships?

1127


What is the difference between the session.get() method and the session.load() method?

1084


which type of objects reference will be given to client?

2485


What if the static modifier is removed from the signature of the main method?

1240


How database connectivity in XML is achieved?

2242


what is a non-repeatable read?

2427


Do you think that java should have had pointers?

1058


What is the relationship between an event-listener interface and an event-adapter class?

1127


Have you used threads in Servelet?

2509


Difference between DurableSubscription and non- DurableSubscription?

2196


What are the steps to write p-to-p model application?

2484


Can I run seam with jdk 1.4 and earlier?

994