Monday, July 13, 2009

Free Java Books to Download - Java Native Interface: Programmer's Guide and Specification

Java Native Interface: Programmer's Guide and Specification

NOTE - Also see the latest Java Native Interface Specification v1.5 -- includes enhancements up to and including J2SE 1.5; this document is part of the Java 2 Platform, Standard Edition documentation:

The Java Native Interface (JNI) enables the integration of code written in the Java programming language with code written in other languages such as C and C++. It allows programmers to take full advantage of the Java platform without having to abandon their investment in legacy code.

This book is the definitive resource and a comprehensive guide to working with the JNI. Entirely up-to-date, the book offers a tutorial, a detailed description of JNI features and programming techniques, JNI design justifications, and the official specification for all JNI types and functions.

You will find coverage of important topics such as:

  • Writing native methods
  • Passing data types between the Java language and native programming languages
  • Embedding a Java virtual machine implementation in native applications
  • Leveraging legacy native libraries
  • Improving the efficiency and reliability of your code
An entire chapter is devoted to avoiding common traps and pitfalls. The book uses numerous examples to illustrate programming techniques that have proven to be effective.
View HTML
Download HTML (zip, ~531K)
Download PDF (~ 3608K)
Download the example code in this book in ZIP or tar.gz formats.
Order this book through


Click on the links below for more....