- 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
推薦閱讀
- Advanced Quantitative Finance with C++
- 精通Nginx(第2版)
- Mastering SVG
- Internet of Things with Intel Galileo
- Visual C++數字圖像處理技術詳解
- Python數據分析從0到1
- Multithreading in C# 5.0 Cookbook
- Java實戰(第2版)
- Web前端應用開發技術
- RocketMQ實戰與原理解析
- Backbone.js Patterns and Best Practices
- HTML5+CSS+JavaScript深入學習實錄
- C#程序設計基礎與實踐
- Unity3D高級編程:主程手記
- Web應用程序設計:ASP