LAB SESSION 3: RMI ================== 0.- Understand what RMI is and how it works. A good starting point is: http://fragments.turtlemeat.com/rmi.php Also check the screenshot with an example of an RMI application at: http://docencia.ac.upc.edu/FIB/PXC/manel/LAB/lab3.png The source code of that RMI application is at: [TGZ] http://docencia.ac.upc.edu/FIB/PXC/lab/_obj/pxc_obj.tgz [ZIP] http://docencia.ac.upc.edu/FIB/PXC/lab/_obj/pxc_obj.zip 1.- Compile and run the example application. 1.a) Compile the whole thing: javac *.java 1.b) Generate the stub for the remote interfaces: rmic Ximpl 1.c) Set CLASSPATH so it includes the current directory: bash CLASSPATH=$CLASSPATH:. export CLASSPATH 1.d) Start the Object Registry: rmiregistry & [In MS Windows is: start rmiregistry] 1.e) Start the Server: java XServidor & [In MS Windows is: start XServidor] 1.f) Run the Client: java XClient 2) Implement the same car rental system you did in the previous lab session. But, this time with RMI. And remember, in RMI there is no web browser. The client is a standalone application.