# test-rmi **Repository Path**: jian_liu/test-rmi ## Basic Information - **Project Name**: test-rmi - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2015-09-24 - **Last Updated**: 2020-12-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #test-rmi ###Instruction * Complile all java file * Run `rmic AddServerImpl` * Copy *AddClient.class*, *AddServerImpl_Stub.class*, *AddServerIntf.class* to *client machine* * Copy *AddServerIntf.class*, *AddServerImpl.class*, *AddServerImpl_Stub.class*, *AddServer.class* to *server machine* * Start rmi registry * if your server is Windows: `start rmiregister` * if your server is Unix: `rmiregistry &` * Start the server `java AddServer` * Start the client `java AddClient 127.0.0.1 123 123` * The Client get the result `246`, and the Server echo 'Hello' reference: [java rmi](http://www.scs.ryerson.ca/mes/courses/cps530/programs/rmi/Examples.html)