Java Native Access

Java Native Access (JNA) is an alternative to Java Native Interface (JNI) that does not require writing C/C++ wrapper code – it basically allows a ffi style calling ability for C functions contained in dlls.

I had long had the view that it was unfortunate that it was so hard to directly interface Java with lower level code. This seems like for simple cases it makes this much simpler, and for hard cases, there is JNI.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s