- 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
推薦閱讀
- PHP動(dòng)態(tài)網(wǎng)站程序設(shè)計(jì)
- Learning Docker
- C#編程入門指南(上下冊(cè))
- 算法訓(xùn)練營:入門篇(全彩版)
- Three.js開發(fā)指南:基于WebGL和HTML5在網(wǎng)頁上渲染3D圖形和動(dòng)畫(原書第3版)
- Twilio Best Practices
- OpenNI Cookbook
- Lighttpd源碼分析
- Oracle實(shí)用教程
- 硬件產(chǎn)品設(shè)計(jì)與開發(fā):從原型到交付
- Mastering SciPy
- WCF技術(shù)剖析(卷1)
- Java設(shè)計(jì)模式深入研究
- 輕松學(xué)Scratch 3.0 少兒編程(全彩)
- Android項(xiàng)目實(shí)戰(zhàn):博學(xué)谷