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

How to determine SGA site?

2532


Where we can write Rmi registry in the code, without having to write it at the command prompt?

2761


How to deploy Jar, War files in J2EE?

2680


Which javutil classes and interfaces support event handling?

1030


What is the form of storage space in java?

2238


What is the difference between static and non-static with examples?

1915


Can I map more than one table in a cmp?

1067


int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!

1813


What is aop(assepct oriented programing)?

1038


Do you think that java should have had pointers?

1039


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

1111


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

2463


How would you detect a keypress in a jcombobox?

1125


What is the purpose of the notifyall() method?

1034


Explain the advantages and disadvantages of detached objects.

1013