Explain the methods of Naming class, rebind( ) and lookup()?
Answer / 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 |
How to determine SGA site?
What is the difference between the ‘font’ and ‘fontmetrics’ class?
Explain the life cycle of servlet?
In a multitiered application which tier is the browser in?
Whats new with the stop(), suspend() and resume() methods in jdk 1.2?
which is the better collection class if the requirement is only displaying the data
How to get an image from db2 database plz help as soon as possible
In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?
How are commas used in the intialization and iteration parts of a for statement?
What is ioc concept & explain it?
Difference between DurableSubscription and non- DurableSubscription?
Explain the methods of Naming class, rebind( ) and lookup()?