RMI Question:

What is the use of UnicastRemoteObject in RMI?

RMI Interview Question
RMI Interview Question

Answer:

The UnicastRemoteObject class provides support for point-to-point active object references using TCP streams. Objects that require remote behavior should extend UnicastRemoteObject.


Previous QuestionNext Question
What is the protocol used by RMI?What does the exportObject of UnicastRemoteObject do?