by Rob Gordon
|
by Brian Goetz
|
by Joshua Bloch
|
by Maurice Naftalin
|
Professional Java Native Interfaces with SWT/JFace (Programmer to Programmer) by Jackwind Li Guojie |
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
Product Description
The complete tutorial, programming guide, and reference for JNI, the interface which facilitates the integration of Java with existing C and C++ code.
See all Editorial Reviews
Product Details
Would you like to update product info or give feedback on images?
|
![]() |
72% buy the item featured on this page: Java(TM) Native Interface: Programmer's Guide and Specification (Java Series) $37.16 |
![]() |
13% buy Essential Jni: Java Native Interface (Essential Java) |
![]() |
8% buy Java(TM) Virtual Machine Specification, The (2nd Edition) (Java Series) $42.54 |
![]() |
6% buy Java Concurrency in Practice $37.79 |
Tags Customers Associate with This Product(What's this?)Click on a tag to find related items, discussions, and people.
|
|
This product's forum
(0 discussions)
Ask questions, Share opinions, Gain insight
Active discussions in related forums
|
||||||||||||||||||||||||||||||
|   |   |   |   | |||||||
|
|
You have no recently viewed items or searches.
After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in. Look to the right column to find helpful suggestions for your shopping session. |
|
| ||
| ||
| ||
| ||