Sheng Liang,«Java Native Interface»
Prentice Hall PTR | ISBN 0201325772 | PDF | 1,55 Mb | 320 Pages | 1999 Year
Prentice Hall PTR | ISBN 0201325772 | PDF | 1,55 Mb | 320 Pages | 1999 Year
This book explores multiple aspects of the JNI API, starting with the use of Java strings and arrays within native code. Liang follows by transitioning into calling Java members and methods in C/C++. Here the author presents caching strategies for improving the performance of native code that interacts with or executes Java programs, including a discussion of local and global references that incorporates global weak references in Java 2.