- 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
推薦閱讀
- Mastering Concurrency Programming with Java 8
- C++程序設計(第3版)
- 跟老齊學Python:輕松入門
- Learning Network Forensics
- Oracle從入門到精通(第5版)
- Spring Boot進階:原理、實戰與面試題分析
- 小學生C++創意編程(視頻教學版)
- 碼上行動:用ChatGPT學會Python編程
- Building Android UIs with Custom Views
- Mastering Backbone.js
- Fastdata Processing with Spark
- Python Projects for Kids
- Mastering PowerCLI
- Mastering ArcGIS Server Development with JavaScript
- Java網絡編程實用精解