- Distributed Computing in Java 9
- Raja Malleswara Rao Pattamsetti
- 56字
- 2021-07-02 21:02:35
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
推薦閱讀
- Spring Cloud Alibaba核心技術與實戰案例
- Getting started with Google Guava
- Learning RxJava
- PHP 編程從入門到實踐
- Internet of Things with the Arduino Yún
- Mastering Python High Performance
- Nginx Essentials
- Clojure Reactive Programming
- R Data Analysis Cookbook(Second Edition)
- ASP.NET開發與應用教程
- Visual Studio Code 權威指南
- Elasticsearch Essentials
- Kotlin極簡教程
- 微課學人工智能Python編程
- Java程序設計教程