Skip to content
Scan a barcode
Scan
Paperback Java? Native Interface: Programmer's Guide and Specification Book

ISBN: 0201325772

ISBN13: 9780201325775

Java? Native Interface: Programmer's Guide and Specification

Select Format

Select Condition ThriftBooks Help Icon

Recommended

Format: Paperback

Condition: Very Good

$7.49
Save $37.50!
List Price $44.99
Almost Gone, Only 1 Left!

Book Overview

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... This description may be from another edition of this product.

Customer Reviews

5 ratings

Concise, Complete, and Definitive

I was not looking forward to learning and using JNI, but found myself in a position where that was in fact what I had to do. Of the three books I purchased on the subject, this is the one I keep going back for the information I need. It provides a high level discussion with just enough code snippets to turning what you learn into real code. This is the one I'll keep on my shelf.

Programmer

This is one of the best Java programming books around. Not only are all the major issues surrounding JNI programming addressed, but the author also presents a great disussion on the organization of JNI.My only complaint is that embedding JNI in native apps is barely touched. However, this is a complicated subject, and the information shared is enough to get started.This book is definitely required reading for those interested in bringing legacy code into a Java framework. Also, its a good read, and a great example of nonfiction writing.

This is an excellent practical guide to JNI...

...and I'd pay $40 (or whatever) for chapter 10 by itself. Wondering why getStringChars() returns a pointer to a char[] with some gibberish at the end? Check out section 10.8. Trying to figure out why you're getting strange warnings about too many local references? Read section 10.12.That's just a taste. Not only does Liang discuss caching method & field IDs, he spends about 10 pages at the end of chapter 4 detailing two strategies for doing it. Then he describes the performance differences btwn Java inter-object method calls, Java-native calls, and native-Java calls. What a gold mine.Yeah, there are some typos in the examples. Yeah, it's biased against native code - and why not, when it take 10 lines of tedious, error prone C to replace 1 line of Java? But if you are a JNI programmer, this has got to be on your desk.

Good book to start using JNI

This is a book that can get you rapidly into the business of integrating Java and C. Sheng demonstrates the usage of JNI by some short and clear examples. He also provides detailed instructions to set up the environment variables on your computer. In my experience, following his introduction is a smooth way to get JNI working. There are in-depth descriptions of the JNI specification as well. I would like to recommend this book to every JNI user -- a book from the JNI designer is surely a good resource.

A must for JNI users

This is an excellent book! Liang provides short, illustrative, and useful examples as well as helpful tips for the JNI user. The presentation is extremely clear, with no fluff. This book is more informative than any existing material on JNI I know of. It offers a gentle introduction for the novice as well as technical depth for the expert. I particularly like the level of insight that only the designer and architect of the JNI can provide. My favorite programming technique is "shared stubs," beats J/Direct.
Copyright © 2024 Thriftbooks.com Terms of Use | Privacy Policy | Do Not Sell/Share My Personal Information | Cookie Policy | Cookie Preferences | Accessibility Statement
ThriftBooks® and the ThriftBooks® logo are registered trademarks of Thrift Books Global, LLC
GoDaddy Verified and Secured