- 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
推薦閱讀
- 嵌入式軟件系統(tǒng)測(cè)試:基于形式化方法的自動(dòng)化測(cè)試解決方案
- Beginning C++ Game Programming
- 三維圖形化C++趣味編程
- C語(yǔ)言程序設(shè)計(jì)
- ASP.NET動(dòng)態(tài)網(wǎng)頁(yè)設(shè)計(jì)教程(第三版)
- Animate CC二維動(dòng)畫(huà)設(shè)計(jì)與制作(微課版)
- iOS編程基礎(chǔ):Swift、Xcode和Cocoa入門(mén)指南
- SharePoint Development with the SharePoint Framework
- Scientific Computing with Scala
- Getting Started with Gulp
- C#應(yīng)用程序設(shè)計(jì)教程
- HTML5秘籍(第2版)
- Cocos2d-x Game Development Blueprints
- 深入理解BootLoader
- Microsoft HoloLens By Example