|
The ``JNI HOW-TO'' by Udo Schuermann
As we have ourselves struggled through some of the finer details of using the Java Native Interface (JNI) recently, we thought that sharing our new-found insights might help others understand the details better.
The following instructions for accessing native code from Java through the JNI interface apply to a Unix system with gcc. If you are using Microsoft Windows, Apple Macintosh, or another non-Unix operating systems then you can obviously not follow these instructions too blindly...
|
|
Java Native Interface
The lessons in this trail show you how to integrate native code with programs written in Java. You will learn how to write native methods. Native methods are methods implemented in another programming language such as C.
|
|
Integrate your legacy applications with JNI
Integrating old and new applications is tricky business. Of course the first decision is to choose an appropriate technology that will make things as simple as possible. Java to the rescue! Using the integration of a legacy accounting application and a new sales force automation program as an example, Michael Perry shows how Java Native Interface provides the flexibility required to get the job done
|
|
Enhance your Java application with Java Native Interface
In this article, Tal Liron presents JNI-based design and implementation techniques that can help make your application competitive on all platforms without compromising cross-platform deployment
|