xFunctionJava Interface to External Functions Invoke operating system APIs and functions from native code DLLs/shared libraries directly from your Java code without any JNI programming |
|
The xFunction library is the universal solution for integration of Java code with code written in other languages, superior in many aspects to Java Native Interface (JNI). At the same time, xFunction itself is implemented using JNI and reflection and therefore is 100% Java 2 Runtime compatible.
With xFunction, you no longer need to implement those ugly native methods. Instead, you extend and instantiate xFunction classes to create conventional Java objects representing external functions, data structures, pointers, and callbacks. All necessary data conversions and external function calls are done seamlessly by the xFunction library:
import com.excelsior.xFunction.*;
...
/* Call Beep() from KERNEL32.DLL */
xFunction f =
new xFunction( "kernel32",
"int Beep(int,int)" );
f.invoke( new Argument(1770),
new Argument(100) );
Available for Windows, Linux and Mac OS X, xFunction enables you to call any operating system APIs or functions exported from DLLs/shared libraries from your Java code in a natural and convenient manner. Using xFunction, you may achieve the highest levels of code reuse without translating any source code to Java and/or writing cumbersome JNI-conformant wrappers for your native code functions and APIs.
Want to give it a try? Download xFunction 2.17 Evaluation Package now!
News
Awards
|
To receive email announcements regarding xFunction updates and fixes,
please type your valid email address below and select the Subscribe button:
|




