AnyBook4Less.com | Order from a Major Online Bookstore |
![]() |
Home | Store List | FAQ | Contact Us | | ||
Ultimate Book Price Comparison Engine Save Your Time And Money |
![]() |
Title: Essential Jni: Java Native Interface (Essential Java) by Rob Gordon, Robert Gordon, Alan McClellan ISBN: 0136798950 Publisher: Prentice Hall PTR Pub. Date: March, 1998 Format: Paperback Volumes: 1 List Price(USD): $34.95 |
|
Average Customer Rating: 3.81
Rating: 3
Summary: Skimps on too many areas
Comment: Easy to read and covering many areas of JNI usage. However, when one settles to write an application in earnest, the book starts feeling superficial. The reference is meager on the Sun web page and not enhanced in the book. For instance, here's a typical argument explanation: "clazz: a Java class object". No indication as to what the usage really is, just a statement of what type it is. This sort of treatment is unfortunately typical. Memory management is barely touched, and many areas are not covered. I expect to be told if a particular method manages memory or not, so I can take adequate care in my application. I expected a detailed discussion on how Java and corresponding C/C++ buffers are managed in general; How to navigate through objects to data that may not be directly available from the calling object; How to access Java static functions, like the utility libraries from native code (or a discussion why not). etc... Examples are provided and thoroughly explained in the "Guide" part of the book, but are by no means a comprehensive coverage of the usage and features of JNI.
I rate it 3 stars -- a good introduction, but not a workhorse desk reference. Good to borrow and read through to see how JNI works, but one needs more substantial information to trully write JNI code as part of an application.
Rating: 5
Summary: Solid JNI Coverage
Comment: No-nonsense, short & sweet, here's how to do JNI. I've seen many many technical books of this sort fall short of the mark, and this isn't one of them.
The book is organized by functional topic, which is *really* handy when you're neck-deep in C++ and Java. Hilites include: setting object fields and invoking object methods, working between C++ and Java types; creating and using objects; working with (or in spite of) the garbage collector; using Java exceptions in native code; working with Java strings; object and class introspection; and embedding the JVM inside of a C++ application.
Having moderate experience as a Java programmer and an extensive background in C++, I was up to speed and gunning through native method implementations in an afternoon. My primary development platform is win32, and in spite of what the editorial review says, I found every page of this book helpful.
Rating: 4
Summary: A solid JNI book
Comment: JNI is not for the meek, and if you plan on using it, you will spend way to much time unless you have a book like this to clarify issues. The author tries to cover very diverse applications of JNI such as serial I/O, legacy C structure mapping issues, and running a Java program from an NT Service. Strategies such as how to design better JNI code are covered (although not as much as I would have liked). For example, keeping Java and C++ objects in sync via a mirrored approach. As with other technologies, JNI seems easy to those who feel comfortable with C++ UNTIL they have to write a non-trivial JNI application with a deadline. Although, this book does not answer all your questions, such as performance issues, and indepth user allocated memory management concerns, it does give you enough detail and coverage to make its stance as a solid JNI Handbook.
![]() |
Title: Java(TM) Native Interface: Programmer's Guide and Specification by Sheng Liang ISBN: 0201325772 Publisher: Addison-Wesley Pub Co Pub. Date: 10 June, 1999 List Price(USD): $44.99 |
![]() |
Title: Effective Java Programming Language Guide by Joshua Bloch ISBN: 0201310058 Publisher: Addison Wesley Professional Pub. Date: 05 June, 2001 List Price(USD): $39.99 |
![]() |
Title: Core Java 2, Volume II: Advanced Features (5th Edition) by Cay Horstmann, Gary Cornell ISBN: 0130927384 Publisher: Pearson Higher Education Pub. Date: 10 December, 2001 List Price(USD): $49.99 |
![]() |
Title: Mastering Enterprise JavaBeans (2nd Edition) by Ed Roman, Scott W. Ambler, Tyler Jewell ISBN: 0471417114 Publisher: John Wiley & Sons Pub. Date: 14 December, 2001 List Price(USD): $45.00 |
![]() |
Title: Core Java 2, Volume I: Fundamentals (6th Edition) by Gary Cornell, Cay S. Horstmann, Cay S. Forstmann ISBN: 0130471771 Publisher: Prentice Hall PTR Pub. Date: 22 August, 2002 List Price(USD): $49.99 |
Thank you for visiting www.AnyBook4Less.com and enjoy your savings!
Copyright� 2001-2021 Send your comments