Best practices for using the Java Native Interface

302
JNI is an important tool to leverage existing code assets. This article identifies the top 10 JNI programming pitfalls, provides best practices for avoiding them, and introduces the tools available for implementing these practices.