my question is how to call running Java code from running C++ code and vice versa. There are several posts available concerned with calling compiled c++ files from Java or JVM from C unsing Java Native Interface (JNI) or Java Native Access (JNA). However, to me this seems not to be an adequate way to call running code as only compiled libraries are invoked in the examples.
My case looks as follows. There are two applications running on a local computer. One application is Eclipse- and Java-based. The other application is C++-based. I need to make them communicating in both directions. Maybe this is a case for RPC? But I do not need to communicate via web.
I think RCP may be a way but it seems oversized to me as i do not want to communicate over web and I do not know how to use RCP in this context. I am searching for a smarter solution.
Is there any experience that can help me?
Thanks and Regards
Rob