Customers who bought this book also bought:
Reviews
Amazon.com Essential JNI: Java Native Interface covers Sun's Java Native Interface (JNI), a powerful tool that calls native C or C++ code from within Java. This tutorial makes a fairly specialized topic interesting, and it provides plenty of nuts-and-bolts information on the necessary details of using JNI calls. (An appendix contains a comprehensive JNI function reference.)Unfortunately, because Microsoft doesn't support JNI in its Java Virtual Machine (JVM)--it uses Raw Native Interface (RNI) instead--JNI can be used only with Netscape and other JVMs under Windows. The author, Rob Gordon, throws a few bones to Win32 programmers, such as a section on invoking the Netscape JVM as an NT service. Gordon also gears this text toward UNIX programmers and includes sample POSIX and Sun Solaris-specific code. Some of the best material discusses strategies for salvaging C and C++ legacy code to use with Java. This is surely a problem that many Java developers will face, and the solutions in Essential JNI make it an indispensable resource. Much more readable and thorough than online material available on JNI, Essential JNI is key reading for anyone facing an integration of C/C++ code into Java. --Richard Dragan Synopsis With Java maturing and branching out into so many different APIs, programmers are finding it difficult to find good, solid coverage of the many new need-to-know APIs in the many "catch all" Java books on the market. This title answers that need by presenting no-nonsense, nuts-and-bolts coverage of the new "niche" APIs like JNI, JTAPI, and the Java Wallet in a task-oriented reference format that gives coders the answers they need. . From the Back Cover Leverage platform-specific features without compromising binary compatibility! With the Java Native Interface API, you get the best of both worlds: access to the native platform features you need to get the job done plus full binary compatibility across multiple Java Virtual Machines. And there is no better way to master the JNI than this fast-paced, example-rich guide, which focuses on proven techniques. Walk step-by-step through writing Java and native code components, building libraries, loading and invoking native methods, and more. Discover powerful techniques for creating Java Virtual Machines from within any native application. Learn proven approaches to integrating Java and C++ code, converting C structures, and providing serial I/O from Java on both POSIX and Win32 platforms. Get comprehensive debugging help. There's even a complete, easy-to-use API reference! With JNI, you can leverage Java's extraordinary capabilities without sacrificing proven legacy code. Essential JNI: Java Native Interface gives you the insight, proven techniques, and real-world sample code you'll need to get results with JNI, plus: *A complete, task-oriented reference to the entire Java Native Interface API *Tools and strategies for integrating legacy code with new Java applications *Extensive code examples and detailed debugging tips *Clear explanations of JNI native types, signatures, references, and object and class functions *Specific techniques for managing C++ code and converting C structures About the Author ROB GORDON is a software consultant who has worked for Motorola, Convex Computers, and, most recently, Sun Microsystems. He has extensive experience both as a Java software developer and as a developer of educational materials on operating systems, device drivers, and programming languages. Back to Java: General
Back to Java Programming
Back to Main Index
|