Try OpenEdge Now
skip to main content
Application Developer's Guide
Developing Business Process Server adapters : Developing adapters : Creating adapters that call a C function through JNI
 

Creating adapters that call a C function through JNI

To create an adapter that calls a C function using Java Native Interface (JNI), perform the following steps:
1. Write the Java adapter that declares the native methods.
2. Compile the Java class.
3. Generate the header file.
4. Write the implementation of the native methods in C.
5. Compile the header and implementation files into a shared library.
6. Place the shared library in your system32 directory.