The Java™ Native Interface (JNI) is a standard Java API that enables Java code to integrate with code written in other programming languages. JNI can be a key element in your toolkit if you want to leverage existing code assets — for example, in a service-oriented architecture (SOA) or a cloud-based system.
Comments
MCII replied ago:
Avoid it. It's the best you can do with JNI.
adobni replied ago:
Sometimes you just can't avoid JNI.
MCII replied ago:
Always let the Java program call the C/C++ program. Don't let the C/C++ program call Java code, i.e. don't use JNI.
Voters For This Link (20)
Voters Against This Link (0)