what java virtual machine will do while executing multiple java applications

后端 未结 3 1417
旧巷少年郎
旧巷少年郎 2020-12-06 12:29

By reading this article, I know that each java application will run in a specific Java Virtual Machine Instance. So if I execute the following commands(\"Java -jar test1.jar

3条回答
  •  臣服心动
    2020-12-06 12:52

    1) No, but there a ways to launch java applications as services with wrappers (Google for "Java service").

    2) Yes.

    3) You can use communication between processes (v.g. HTTP). But there are no shortcuts due to all processes being run in JVM.

    4) No

提交回复
热议问题