- Distributed Computing in Java 9
- Raja Malleswara Rao Pattamsetti
- 65字
- 2021-07-02 21:02:35
Starting the server
Ensure that the RMI registry is started before you start the application:
- For Microsoft Windows (use javaw if you're unable to start the registry; port_no is optional):
start rmiregistry <port_no>
- For Solaris OS or Linux:
rmiregistry <port_no> &
- For Microsoft Windows:
java -cp
C:DistributedComputingWorkspacesrc;C:DistributedComputingWorkspace
classescalculate.jar -Djava.rmi.server.codebase=
file:C:DistributedComputingWorkspaceclassescalculate.jar -
Djava.rmi.server.hostname=myserver.host.com -
Djava.security.policy=server.policy remote.CalculateEngine
- For Solaris OS or Linux:
java -cp
/home/distributedcomputing/workspace/src;
/home/distributedcomputing/workspace/classes/calculate.jar -
Djava.rmi.server.codebase=http:
//myserver/~server/classes/calculate.jar -
Djava.rmi.server.hostname=myserver.host.com -
Djava.security.policy=server.policy
remote.ComputeEngine
推薦閱讀
- 軟件項目估算
- 微信公眾平臺與小程序開發:從零搭建整套系統
- Beginning C++ Game Programming
- ThinkPHP 5實戰
- Hands-On Machine Learning with scikit:learn and Scientific Python Toolkits
- INSTANT OpenCV Starter
- Instant Apache Stanbol
- 青少年軟件編程基礎與實戰(圖形化編程三級)
- 軟件測試項目實戰之性能測試篇
- 基于Java技術的Web應用開發
- 前端架構:從入門到微前端
- Learning ArcGIS Pro
- 算法訓練營:提高篇(全彩版)
- Unity 2017 Mobile Game Development
- Scratch趣味編程:陪孩子像搭積木一樣學編程