Running multiple JVMs

后端 未结 9 1177
渐次进展
渐次进展 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:31

    There are several insightful answers here, but something that interests me the driving requirement for running multiple JVMs. Why do you believe you need to do this? If you are looking for parallel processing, you might want to consider a multi-threaded application as opposed to running multiple JVMs. Since each JVM could very likely require significant resources and you'd like to have communication between paths of execution, this may very likely be a better solution for your needs.

提交回复
热议问题