上QQ阅读APP看书,第一时间看更新
Invoking the client
Client invocation needs to be done after the registry and host system are up and running. The following are the commands for client invocation:
- For Microsoft Windows:
java -cp
C:DistributedComputingWorkspacesrc;
C:DistributedComputingWorkspaceclassescalculate.jar -
Djava.rmi.server.codebase=file:
C:DistributedComputingWorkspaceclasses -
Djava.security.policy=client.policy client.CalculateClient
myserver.host.com 45
- For Solaris OS or Linux:
java -cp
/home/distributedcomputing/workspace/src;
/home/distributedcomputing/workspace/classes/calculate.jar -
Djava.rmi.server.codebase=http://myserver/~client/classes/ -
Djava.security.policy=client.policy client.CalculateClient
myserver.host.com 45