- Shopping Bag ( 0 items )
From Barnes & Noble
Fatbrain ReviewAimed at software engineers and Java programmers, this book teaches Java and C/C++ integration. With an introduction to the Java Native Interface (JNI) API, the authors cover the entire API for the JNI, including the enhancements introduced in release 1.2 of JDK. JNI helps users access native platform features and full binary compatibility across multiple Java Virtual Machines (JVM).
The first section gives detailed coverage of JNI API, with a JNI version of "Hello World," Java variables and Java types. It also includes by explaining the remaining JNI functions, including objects, arrays, exceptions and monitors. The second section explains how to use JNI to integrate Java code with non-Java code. Chapters 9 through 11 discuss Java and C++, C structure conversions and native serial I/O. Chapters 12 and 13 tackle the Invocation API, providing details on how to start a Java Virtual Machine mechanisms from a C/C++ application. They also discuss starting the JVM as an NT service.
Chapter 14 concentrates on debugging Java applications with native code. The final chapter is devoted to changes and enhancements to JNI in the SDK 1.2. The appendices contain JNI references, 1.0 native methods versus JNI and StructConverter references. This is followed by a JAVAH reference and a brief discussion of native methods, applets and security issues.