JNI++

What is JNI++?

JNI++ is a set of two code generating utilities and a core C++ library that simplify programming to the Java Native Interface (JNI) with C++. The first of these utilities is used to generate C++ "proxy" classes given a Java class or interface, and is useful for "automating" Java objects from C++. The second utility is used to simplify the creation and exposure of native code to Java. Its input is a Java interface, and its output includes a Java "proxy" class that implements the interface as well as a C++ "peer" class and mapping code. In addition to the code generators, JNI++ also provides a core C++ library that contains classes that simplify working with the JNI data types (string, array, etc.) as well as a simplified JVM interface and exception handling.