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

Explain about RMI Architecture?

1074


What class is the top of the awt event hierarchy?

1104


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

955


How is a java object message delivered to a non-java client?

1044


Can I use javascript to submit a form?

1138


Define prototype?

1048


What modifiers may be used with an interface declaration?

1127


To identify IDL language what mapping mechanism is used?

3940


How many times may an objects finalize() method be invoked by the garbage collector?

1087


What is Stream Tokenizer?

2227


How will you pass parameters in RMI? Why do you serialize?

1229


Can I have an action without a form?

1098


What restrictions are placed on the values of each case of a switch statement?

1005


What is Remote Server?

2189


What is the difference between session and entity beans?

1106