JNI Section Index
How can i initiate a shutdown (CTRL+ALT+DEL) without using JNI on my Windows box?
You can call Runtime.exec() and execute rundll32.exe with a few parameters.
rundll32.exe shell32.dll,SHExitWindowsEx (to close the session)
rundll32.exe shell32.dll,SHExitWindowsEx 2 (to reboot...more
how to create object of a C++ class in my servlet ?
how to create object of a C++ class in my servlet ? i am facing a problem regarding call functions from C++ files. Actually am developing a SMS sending application using java servlets & Nokia datas...more
Is there a JNI layer over the MATLAB engine that i could use?
Yes. Use http://www.held-mueller.de/JMatLink/.
Is there a sample Java application built using MacOS X's ProjectBuilder that calls native code through JNI?
http://developer.apple.com/samplecode/Sample_Code/Java/JNISample.htm
What is JAWIN?
The Java/Win32 integration project (Jawin) is a free, open
source architecture for interoperation between Java and components exposed
through Microsoft's Component Object Model (COM) or through Wi...more
How to check for the validation of a Unix login username and password from Java?
See http://cscene.org/CS4/CS4-04.html for a JNI tutorial with source code which verifies a user's password.
Is it possible to make calls to C or C++ methods from a servlet?
Yes, but you have to use JNI. See the JNI FAQ for help on using JNI. Also, see your servlet engine's documentation for help on how to set up the environment (environment variables, where to plac...more
Can i embed ActiveX controls in SWT?
Yes. See ActiveX Support In SWT.
What are the basic techniques for debugging mixed java and C++ code?
Debugging integrated Java and C/C++ code illustrates the two basic approaches using JNI (call C/C++ code from java, embed jvm in C/C++ code) and ways to debug both approaches using JPDA (jdb) and ...more
What is SWT? How does it work?
SWT is the software component (part of the Eclipse IDE Framework) that delivers native widget functionality for the Eclipse platform in an operating system independent manner. It is analogous to...more
Anyone know of a way of marking a Java thread as being a demon if it was "created" through the JNI AttachCurrentThread call?
JDK 1.4 has a new method AttachCurrentThreadAsDaemon.
EJB-JNI-Legacy Integration(C++ API)
EJB-JNI-Legacy Integration(C++ API)
We have exisitng System in C++.We want to use Existing in the intranet/internet. We are using JNI to use existing System. And then we
are calling JNI Classes i...more
Is there a sample that illustrates Non-Blocking Socket I/O in JDK 1.4?
A sample server that illustrates Non-Blocking Socket I/O can be found at http://www.owlmountain.com/tutorials/NonBlockingIo.htm.
more
Where can i find more information on the new Signal Chaining mechanism that has been implemented in JDK 1.4?
http://java.sun.com/j2se/1.4/docs/guide/vm/signal-chaining.html has the details. More details can be found at http://developer.java.sun.com/developer/bugParade/bugs/4381843.html.more
Where can i get on overview of the New I/0 Functionality for JDK 1.4?
John Zukowski has an excellent article:
New I/0 Functionality for JavaTM 2 Standard Edition 1.4