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

Can you control when passivation occurs?

1122


What is difference between object state and behavior?

1154


what is Activation Instantinator?

2513


What value does read() return when it has reached the end of a file?

1079


Which containers use a border layout as their default layout?

1207


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

1187


What is the difference between the font and fontmetrics classes?

1218


Are enterprise beans allowed to use thread.sleep()?

1199


Explain the advantages and disadvantages of detached objects.

1079


What is the difference between ear, jar and war file?

1191


What are the services in RMI ?

2447


Explain how will the struts know which action class to call when you submit a form?

1015


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

1070


How to implement RMI in Java?

2932


What is the infobus?

1138