Do I have two Java programs, each of which runs in its own JVM instance? Can they interact with each other using any IPC method such as Shared Memory or Pipes? Is there any way to do this?
Yes; D-BUS and Tubes are easy to use, and cross-platform. D-BUS is useful for general IPC messaging and for sending mass data.
You can also open a TCP or UDP socket on a local host if you need to support multiple clients connecting to a central server.
UNIX Java, JNI.
http://java.sun.com/javase/technologies/core/basic/rmi/index.jsp
Java Remote Method Invocation (Java RMI) Java- Java-, Java Java *, , , RMI , - .
. RMI , Java Spaces.
MemoryMappedByteBuffer Java NIO .
IPC ( ) Apache, Plasma.
( '17) JVM, , Spark, , , .
, IPC, double, long , /; . -, (-JVM) . Java IPC, .
double
long
Source: https://habr.com/ru/post/1707791/More articles:Starting .NET Form Full Screen - .netDo Perl CGI programs have buffer overflows or script contact form vulnerabilities? - securityHow to parse and interpret ant build.xml - javaLD_LIBRARY_PATH - cDNS two domains one server - subdomainТаинственная проблема IIS: сайт перестает обслуживать динамические страницы, ошибок в журналах нет - windowsSql Server: how to write a trigger on a table with SELECT negation - sql-serverasp.net - sharing shared lists - collectionsIs there a difference between id, date or date, id index in sql server - sql-serverEntering XML data into the Windows event log - c #All Articles