What is UniCastRemoteObject and what is its use in RMI?
Answer Posted / vatsal doshi
There are many purposes for using a Unicast Remote Object
1. All the basic functionalities of RMI are actualy
implemented in this class. When we extend this class, in our
Remote class, all the RMI code gets inherited and becomes
available in our class
2. UnicastRemoteObject also implements Serializable
interface. So your subclass also automatically implements
Serializable. And thus marshalling is then supported for
your type
3. UnicastRemoteObject also prevents the methods of Object
class from being directly inheritted into the Remote class.
Thereby, preventing the 11 methods of Object class from
being invoked Remotely. methods like hashcode() need
different implementations for Remote invocations.
| Is This Answer Correct ? | 23 Yes | 5 No |
Post New Answer View All Answers
What is the difference between the string and stringbuffer classes?
How would you create a button with rounded edges?
Explain how will the struts know which action class to call when you submit a form?
What is Stream Tokenizer?
What class is the top of the awt event hierarchy?
What are the call back methods in entity bean?
which book is better for jdbc ,servlets and jsp
Difference between swing and awt?
what is the use of State Factories?
Can I run seam outside of jboss as?
In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?
what is handle?
What are the different class loaders used by jvm?
In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?
A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions