上QQ阅读APP看书,第一时间看更新
Building the server classes
The next step is to build the server classes. We have one server class called CalculateEngine that implements the Calculate remote interface:
- For Microsoft Windows:
cd C:DistributedComputingWorkspacesrc
javac -cp C:DistributedComputingWorkspaceclassescalculate.jar
remoteCalculateEngine.java
- For Solaris OS or Linux:
cd /home/distributedcomputing/workspace/src
javac -cp
/home/distributedcomputing/workspace/classes/calculate.jar
remote/CalculateEngine.java