Java Native Interface

Helper Plugin for JNI?

Doug Schaefer has called for the community's help in creating a Java Native Interface (JNI) helper plugin, which would automatically create the code required for JNI development. JNI is a programming framework that allows Java running in a JVM to call and to be called by native applications.

He proposes two scenarios. The first, is generating basic C code for Java native methods, and the other is generating wrapper Java classes for C++ classes. He points to the pre-existing Java and C++ parsers and the code generation frameworks within the Eclipse ecosystem, as tools that could aid the creation of this plugin. In addition, Android uses JNI for its native interface, opening up a whole new community, should this plugin go ahead.

Please see Schaefer's blog, for more information on this proposed plugin.

Jessica Thornsby

What do you think?

JAX Magazine - 2014 - 05 Exclucively for iPad users JAX Magazine on Android

Comments

Latest opinions