Which of the following is NOT true about RMI? RMI uses the socket connection, including opening and closing the socket. RMI allows a thread to invoke a method on a remote object To make remote methods transparent to both the client and the server, RMI implements using stubs and skeletons. RMI is object-based.