title: Interactions/Communications between a C++ and a Java program
body: <p>I've got an app written in Java and some native C++ code with system hooks. These two have to communicate with each other. I mean the C++ subprogram must send some data to the Java one. I would've written the whole thing in one language if it was possible for me. What I'm doing now is really silly, but works. I'm hiding the C++ program's window and sending it's data to it's standard output and then I'm reading that output with Java's standard input!!!
  Ok, I know what JNI is but I'm looking for something easier for this (if any exists). </p>
  
  <p>Can anyone give me any idea on how to do this?</p>
  
  <p>Any help will be greatly appreciated. </p>