- Distributed Computing in Java 9
- Raja Malleswara Rao Pattamsetti
- 60字
- 2021-07-02 21:02:35
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
推薦閱讀
- Mastering Ext JS(Second Edition)
- 前端跨界開發指南:JavaScript工具庫原理解析與實戰
- PHP程序設計(慕課版)
- HTML5+CSS3基礎開發教程(第2版)
- 編寫整潔的Python代碼(第2版)
- Mastering Data Mining with Python:Find patterns hidden in your data
- 21天學通C++(第5版)
- Learning Docker Networking
- HTML+CSS+JavaScript編程入門指南(全2冊)
- Mastering Concurrency in Python
- 金融商業數據分析:基于Python和SAS
- Go Systems Programming
- JBoss AS 7 Development
- 軟技能2:軟件開發者職業生涯指南
- Expert Cube Development with SSAS Multidimensional Models