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 is clustering? What are the different algorithms used for clustering?

791


What’s jboss jbpm?

751


What is the difference between the session.update() method and the session.lock() method?

738


What is the difference between system.out ,system.err and system.in?

803


What state does a thread enter when it terminates its processing?

805


What is the form of storage space in java?

1952


Explain how will the struts know which action class to call when you submit a form?

699


What are the sequence of steps to write pub or sub model kind of application?

2211


Describe activation process?

2265


To identify IDL language what mapping mechanism is used?

3638


Is the ternary operator written x : y ? Z or x ? Y : z ?

838


Difference between loadclass and class.forname?

795


What is chat area? Explain.

759


what is a non-repeatable read?

2024


If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?

1958