title: Java C++ without JNI
body: <p>My app is written in Java.
  There is a C++ library I need to utilize. I don't want to use JNI.</p>
  
  <p>60 times a second, the C++ app needs to send the Java app 10MB of data; and the Java app needs to send the C++ app 10 MB of data.</p>
  
  <p>Both apps are running on the same machine; the OS is either Linux or Mac OS X.</p>
  
  <p>What is the most efficient way to do this? (At the moment, I'm considering TCPIP ports; but in C++, I can do memory mapping -- can I do something similar in Java?)</p>
  
  <p>Thanks!</p>