RMI provides the solution of communication between Java processes. For building a RMI Server/Client Application, below steps are considered:
1. define the Remote interfaces extends from java.rmi.Remote
these interfaces will also be provided to client.
note: all remote interfaces throw java.rmi.RemoteException
2. implement the remote interfaces, the implementation classes also extend java.rmi.server.UnicastRemoteObject to export the remote objects.
3. use java
RMI Implementation
最新推荐文章于 2021-02-27 09:59:47 发布