Answer:
RMI uses the socket connection, including opening and closing the socket.
Step-by-step explanation:
- RMI stands for Remote Method Invocation.
- RMI is basically a method in which variety of object of (OOP) Object-oriented programming interact with each other on computers in a distributed network.
- Threads are allowed by RMI to invoke transparent methods on remote objects so that transparency is for both server and client as well.
- The program on client side is known as stub while that on server end is known as skeleton.
I hope it will help you!