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 are the purpose of introspection?

1168


Will the general public have access to the infobus apis?

1002


What is a session? Can you share a session object between different theads?

938


Explain what is orm?

1068


Difference between new operator and class.forname().newinstance()?

1087


Is the ternary operator written x : y ? Z or x ? Y : z ?

1051


what is a non-repeatable read?

2323


Why use POJO when I can use hashmap

2592


What do you know about seam?

982


What is table mutation and how do you avoid it?

2418


what are memory considerations of jsp compares to other web components?

6468


Name the eight primitive java types.

1063


Whats new with the stop(), suspend() and resume() methods in jdk 1.2?

1005


Why does the tag url-encode javascript and mailto links?

958


What is the purpose of the notifyall() method?

991