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
How would you detect a keypress in a jcombobox?
What is prototype?
What is RMI and what are the services in RMI?
Are we allowed to change the transaction isolation property in middle of a transaction?
What is the difference between a static and a non-static inner class?
How will you pass parameters in RMI? Why do you serialize?
What is message driven beam?
what is meant by JRMP?
Is the ternary operator written x : y ? Z or x ? Y : z ?
Where we can write Rmi registry in the code, without having to write it at the command prompt?
What are the pros and cons of detached objects?
Difference between loadclass and class.forname?
What does module-relative mean?
What is TL and its use?
How are commas used in the intialization and iteration parts of a for statement?