Google
 

 

up previous next contents
Up: 3. Day 3: Standard Previous: 3.6 Remote Method Invocation Next: 3.8 Collections framework   Contents

3.7 Java Native Interface (JNI)

  • Lets you run C programs from Java.
  • A great feature if you have a large amount of high-quality C code already written, and want to leverage that for new Java applications.
  • Can also be used if maximizing the speed of the code is critical.
  • When using JNI, you may be limiting the portability of your application.