I thought your article was a pretty good brief explanation of the
Java Native Interface and how it works. You forgot to mention that
you can create the java first and then have java stub out the C++
header files using javah. Also if you break up your assignments
and divide your layers as java is supposed to be done for most
non-trivial applications, then adding jni calls and getting them
working properly within your code is a fairly trivial class.
Discussion on:
Message 1 of 1









































