JNI Section Index | Page 2
How can i use JNI with iPlanet?
Here's an how-to from developer.iplanet.com:
Calling Native Methods From Server-Side Java.more
Can i write a Java Application with Irregular shaped Windows? Similar to the ones i used to with Win32 Region API?
Yes, This is possible. Use the Region API from http://www.l2fprod.com/software/skinlf/region.html.
Are there JVM's that work as a true 64-bit application?
IBM's SDK for Windows on Itanium
SolarisTM-SPARCTM platform edition of J2SDK 1.4.0
CACAO is 64 bit just-in-time (JIT) compiler for Java
more
Can i setup Tomcat to run inside the web server process itself (on Netscape/IIS?), instead of running it as a separate process. Do there something available i can use or do i have to write my own JNI code for this?
Yes. The dirty work has already been done for you. More information can be found at TOMCAT - In-Process HowTo.more
I cannot wait for the new JDK1.4's New I/O APIs. Is there an alternative that i can use right now?
Yes. The alternative is to use NBIO: Nonblocking I/O for Java.
Is there a sample that shows how to write JNI NLM's using CodeWarrior?
Here's one: http://www.gordonross.org.uk/JNI_Netware.html
What are the changes to JAWT in JDK1.4?
See section labeled Native drawing JAWT interface improvements at http://java.sun.com/j2se/1.4/jcp/j2se-1_4-mr_docs-spec/awt.html.
New LockAWT/UnlockAWT in basic JAWT structure in jawt.h
Target u...more
Where can i find information on using JNI on OpenVMS?
Using the Java JNI on OpenVMS
http://www.compaq.com/java/faq/faq_ovms.html
more
Implications of using "-Xbootclasspath" - What are the common problems encountered when one decides to use the "-Xbootclasspath"? and any solutions?
There's an excellent article on Using the BootClasspath - Tweaking the Java Runtime API at javageeks.com:
http://www.javageeks.com/papers/BootClasspath/BootClasspath.pdf.more
How can i create standalone Java applications that can be launched just like any other Mac OS application?
You can use JManager API or JBindery to do so. Here's an article that shows you how to create a wrapper program around a Java application:
http://developer.apple.com/techpubs/java/MacOSandJava/JM...more
Am using -Xbootclasspath to add my custom jars, But this prevents loading custom JNI libraries from my user directory. Is there a work around?
That is the intended behavior. All system classes will only lookup shared
libraries in $JAVA_HOME/bin. If you do need to load custom libraries for the
system classes, there are several choices.
...more
Is there an alternative to JNI on MacOS?
If you want to call Mac OS C code from your Java code, there are currently two
mechanisms for doing so: JDirect2 and the Java Native Interface (JNI). Each has
advantages and disadvantages. Genera...more
Is there an article on how to call COBOL From Java (Using JNI)?
Merant has an article at: Calling COBOL From Java Using the Java Native Interface
What are the changes to JAWT (AWT Native Interface) API in JDK1.4?
Added Lock() and Unlock() function pointers to the basic JAWT structure in jawt.h. These are needed to handle locking of the AWT without requiring a native Canvas. This is useful particularly in...more
How can i debug JNI code in IBM's VisualAge Micro Edition?
Debugging JNI primitives remotely using GDB on a Neutrino target
Debugging JNI primitives locally using WinDbg on a PC platform
more