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
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset