EE-WES Remote Method Invocation (RMI)

Note: the idea of remote procedure call is very important. However, this demo, and simplified technolgoy of RMI is already outdated. It is kept only for the sake of having a very simple demo.


REM Prepare server...
rmic  WeatherServer
REM Copy the stub class created by rmic to the client location

REM Start RMI Server...
REM add current directory to the CLASS PATH for RMI Server
set   CLASSPATH=c:\progra~1\java\jre\lib\rt.jar;.
start rmiregistry

REM Start Server...
start java WeatherServer

REM Prepare and Run Client to test the server...
java  RMIdemo


java RMIdemo

web site front local main page local list page general bookmarks software bookmarks go back copyright info