This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hola ranchers. I was playing with RMI tutorial at java.sun.com and I have the following Qs : (please note, this is my first day with RMI) 1. I want to launch the server : set CLASSPATH=F:\todd\src;f:\todd\public_html\classes\compute.jar java -Djava.rmi.server.codebase=file:/f:\todd\public_html\classes/ engine.ComputeEngine ofcourse its work ! but when changing the classpath to the following : set CLASSPATH=F:\todd\src\engine;f:\todd\public_html\classes\compute.jar I get the exception that its could't find engine.ComputeEngine class why ? I think it should work coz I have included its class in the classpath . also I have changed the second command to : java -Djava.rmi.server.codebase=file:/f:\todd\public_html\classes engine.ComputeEngine also its not work, why ? 2. I have the following dirs; f:\todd\src\engine // contains the server class and the stub & skel f:\todd\src\client // client class f:\todd\src\compute // interface class f:\todd\public_html\classes\compute.jar f:\todd\public_html\classes\engine // contains the stub & skel I have deleted the stub and skel and the application is still work ! why ? also, I have deleted the stub and skel in src\engine dir, now the application is not working why ? please forgive for these questions, but this is my first day in RMI. every post will help me.