Home / Papers / Using Java: the Java native interface

Using Java: the Java native interface

88 Citations1999
Prithvi Rao
journal unavailable

This article continues the theme of interoperability, but with a different perspective: the Java Native Interface (JNI), which is also a very important part of the Java development infrastructure.

Abstract

In a previous ;login: article (June 1998), I discussed the embedding of a Java Bean into an ActiveX enviroment. I showed that components written in Java can interoperte with conponents written in other languages at the "component" level, namely ActiveX components. This article continues the theme of interoperability, but with a different perspective. We will look at the Java Native Interface (JNI), which is also a very important part of the Java development infrastructure. The JNI capability permits programs written in Java to call programs written in C or C++, an also the reverse: a C or C++ program can involve the Java Virtual Machine (JVM) and invoke methods on a Java object.