Running multiple JVMs

后端 未结 9 1158
渐次进展
渐次进展 2020-12-05 16:10

How do you run multiple JVMs on a single machine? How do you call methods in a different JVM?

9条回答
  •  情深已故
    2020-12-05 16:27

    Yes you can run multiple VMs on the same machine. You just need to specify which one to run.

    When you say you want to call methods running on different JVMs do you mean have them talk to each other? If so look at Remote Method Invocation (RMI).

提交回复
热议问题