Java Calling C++ in a different (remote) server
Posted on 2001-08-06
Need some expert help on this.
Need to call existing C++ classes from my Java/Weblogic application :
1. The C++ classes resides in a separate/ remote server
2. The java application would pass some command in string over to the C++
3. The C++ would return result as data objects containing table/columns.
Not quite sure on how the connection between Java and C++.
Q1. Understand there is JNI - but JNI typically is for calling to C++ classes on same server right?
Q2. Remote server can be via socket call but what protocol would suit for call from Java to C++?
Q3. What would be a better implementation for such call?