JNI Section Index | Page 14
Depending upon what you are looking for, try out some of the following: Roedy Green maintains a useful resource at http://mindprod.com/jni.html JavaWorld Tip 17: http://www.javaworld.com/javatip...more
JNI stands for Java Native Interface. It is the way to integrate your Java programs with legacy C/C++ code, including the ability to embed a JVM within your native applications.
The source code for Essential JNI book is available from ftp://ftp.prenhall.com/pub/ptr/professional_computer_science.w-022/gordon/essential_jni/ejni_ex.zip.more
The source code for The Java Native Interface book is available from http://java.sun.com/docs/books/jni/.
There is an article at JavaWorld that explains this process: http://www.javaworld.com/javaworld/javatips/f_jw-javatip86.html more
There is an article at Java CodeGuru that explains this process: http://codeguru.earthweb.com/java/articles/216.shtml.
There is an article at The Code Project which explains how: http://www.codeproject.com/java/javacom.asp.
Applets need to be trusted in order to execute the necessary System.loadLibrary() method. The PolicyManager will check for the RuntimePermission to loadLibrary.<library name>. This is separa...more
As of today - no you can't :( in 100% pure Java. That is because of the following bug and other related bugs - http://developer.java.sun.com/developer/bugParade/bugs/4040183.html You can do that...more
How can I load a DLL (native library) and run something inside the DLL from a Servlet using JNI on JavaWebServer in Windows NT?
Is there anything special about JavaWeb Server so only JNI is not working? Probably not, all you have to do is to learn how to use JNI. I used "Essential JNI" by Rob Gordon.
Besides the free online tutorial on the Java Native Interface from Sun, there are only two books about the topic. Essential JNI from Prentice Hall by Rob Gordon, with the other being The Java Nati...more
Using Java no, but using JNI you can write the same in language like c or c++, because currently only these two languages are supported for native interface in java.