Sheng Liang0201325772, 9780201325775
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. |
Table of contents : Preface……Page 13 Introduction……Page 17 Getting Started……Page 25 Basic Types, Strings, and Arrays……Page 35 Fields and Methods……Page 55 Local and Global References……Page 75 Exceptions……Page 87 The Invocation Interface……Page 97 Additional JNI Features……Page 107 Leveraging Existing Native Libraries……Page 123 Traps and Pitfalls……Page 145 Overview of the JNI Design……Page 159 JNI Types……Page 179 JNI Functions……Page 187 Index……Page 307 |
Reviews
There are no reviews yet.