官术网_书友最值得收藏!

Building the client classes

Once the interfaces and server classes are compiled, build the client implementation class that will communicate an implementation of the Calculate interface with the server class:

  • For Microsoft Windows:
      cd C:DistributedComputingWorkspacesrc
javac -cp C:DistributedComputingWorkspacesrccalculate.jar
localCalculateClient.java

mkdir C:DistributedComputingWorkspaceclasses
cp localCalculateClient.class
C:DistributedComputingWorkspaceclasses
  • For Solaris OS or Linux:
      cd /home/distributedcomputing/workspace/src
javac -cp /home/distributedcomputing/workspace/src/calculate.jar
local/CalculateClient.java

mkdir /home/distributedcomputing/workspace/classes
cp local/CalculateClient.class
/home/distributedcomputing/workspace/classes
主站蜘蛛池模板: 西宁市| 平利县| 绍兴市| 西乡县| 崇州市| 望奎县| 甘泉县| 迭部县| 都匀市| 资兴市| 尼木县| 隆林| 红河县| 北流市| 平度市| 九江县| 临城县| 康乐县| 高唐县| 洛浦县| 合江县| 永康市| 武邑县| 榕江县| 土默特左旗| 时尚| 东莞市| 阳春市| 聂拉木县| 新郑市| 阳东县| 丹棱县| 班戈县| 定兴县| 梁河县| 昔阳县| 大埔区| 宁德市| 沙洋县| 徐水县| 正定县|