What is UniCastRemoteObject and what is its use in RMI?

Answer Posted / yogesh

If you extends this class, your object will be automatically exported for RMI access.

If your class is already extending another class, or you just don't like extending from UnicastRemoteObject, you can also do the following:

UnicastRemoteObject.exportObject ( this );

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What event results from the clicking of a button?

689


Write a singleton program?

562


Brief description about local interfaces?

618


What is an abstract method?

586


What’s jboss jbpm?

573






What is chat area? Explain.

551


What is a tasks priority and how is it used in scheduling?

541


Why is actionform a base class rather than an interface?

559


Name three component subclasses that support painting?

609


Why is string immutable in java?

573


What are JTA/JTS and how they used by client?

1710


what is meant by JRMP?

1805


What is the difference between the ‘font’ and ‘fontmetrics’ class?

629


Can I run seam with jdk 1.4 and earlier?

549


What modifiers may be used with an interface declaration?

549