| Java™ Native Interface: Programmer's Guide and Specification |  | Author: Sheng Liang Publisher: Prentice Hall Category: Book
List Price: $44.99 Buy New: $18.20 as of 5/21/2012 13:16 HKT details You Save: $26.79 (60%)
New (24) Used (30) from $0.78
Seller: Avenue Book & Co. Sales Rank: 558,394
Languages: English (Unknown), English (Original Language), English (Published) Media: Paperback Edition: 1 Pages: 320 Number Of Items: 1 Shipping Weight (lbs): 1.2 Dimensions (in): 9.2 x 7.3 x 0.8
ISBN: 0201325772 UPC: 785342325775 EAN: 9780201325775 ASIN: 0201325772
Publication Date: June 20, 1999 Availability: Usually ships in 1-2 business days
| |
| Similar Items:
| |
| Editorial Reviews:
Product Description 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. 0201325772B04062001
Amazon.com Review Written for the experienced Java developer, The Java Native Interface documents the latest in native code programming for the Java platform using the Java Native Interface (JNI) with C/C++. Author Sheng Liang built the book around "dos and don'ts," even specifying within the introduction when you should and when you should not use JNI. Though sometimes densely written, this title certainly conveys a good deal of technical information on using native code with Java. After a simple JNI "Hello World" code example, 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. The book also looks at handling exceptions within C/C++ code, as well as tips for working with Java threads. The author shows how to simplify access to C/C++ code through shared stubs and how to use peer classes to encapsulate native code from within Java. A section on common traps and pitfalls lists some common pitfalls to avoid when working with the JNI. After presenting the JNI specification, the author provides the most immediately useful text in the book--over 100 pages of reference material listing JNI data types and methods. As a reference and programming guide, The Java Native Interface provides concise and timely technical details on getting Java and C/C++ code to coexist within your projects. --Richard Dragan
|
| |
|
|
|
CERTAIN CONTENT THAT APPEARS ON THIS SITE COMES FROM AMAZON SERVICES LLC. THIS CONTENT IS PROVIDED ‘AS IS’ AND IS SUBJECT TO CHANGE OR REMOVAL AT ANY TIME. Powered By Kam Media, LLC | |