JavaBeat FAQs
FAVORITES
Download a movie FAQ
JAVABEAT
Home
Articles
Tips
QnA
Forums
FAQs Topics Books Topic
Java Java Books
Struts Struts Books
Spring Spring Books
Hibernate Hibernate Books
JBoss Seam Seam Books
J2EE J2EE Books
EJB EJB Books
JSF JSF Books
Servlets Servlets Books
JDBC JDBC Books
RMI RMI Books
JMS JMS Books
JNI JNI Books
Design Patterns Patterns Books
Exception Exception Books
Apache Ant Ant Books
Groovy
Cobertura
Quartz

Java Naming Service (JNI) - Interview Questions

JNI FAQs - 1 | JNI FAQs - 2 | JNI FAQs - 3

JNI Interview Questions - Part1


1)How to get the window handle under the Microsoft JVM?


Bu using the AWT NI can get the window handle of a canvas. However, the Java application/applet is always subject to...

import java.awt.*; import java.awt.peer.*; import com.ms.awt.peer.*; class DrawingCanvas extends java.awt.Canvas { void viewZoomBy(double.


2)Are there JVM's that work as a true 64-bit application?


IBM's SDK for Windows on Itanium Solaris TM-SPARCTM platform edition of J2SDK 1.4.0 CACAO is 64 bit just-in-time (JIT) compiler for Java


3)Can I setup Tomcat to run inside the web server process itself (on Netscape/IIS?), instead of running it as a separate process.


Yes, Look for Tomcat documentation for clear idea.


4)How to use JNI on OpenVMS?


Please click the link http://www.slac.stanford.edu/grp/cd/soft/aida/using_jni_on_openvms.htm


5)What is BootClassPath and what we it can do in Java?


Please download this PDF www.javageeks.com/Papers/BootClasspath/BootClasspath.pdf


6)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:


7)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).


8)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...


9)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...


10)How can I use JBuilder to make my Java program into a native executable?


Borland Developer Support has an article on how to do this: How can I run my Java program as a native executable?


Related Articles
JAX-WS Web Services in NetBeans 6.1
JPA in NetBeans 6.1
EJB 3.0 and WebServices
Types of Managed Bean scopes in Spring Framework
OpenCms 7 Development
Liferay Portal Enterprise Intranets
ZK Developer’s Guide : Online Media Library
The BIRT Environment and Your First Report
AJAX - The Complete Reference
The Java 6.0 Compiler API
more articles
java6 ejb3 jsf hibernate eclipse ajax groovy spring seam java struts webservice j2me guice java5 jca tapestry soa linux ria books

Favorites
Buy movies
Access Control
Busby seo challenge contest
Sohbet
Chat
Webmaster Hosting Forum
Java Jobs
MyVideoLib
India News
Internet Advances
Sohbet
chat
Latest QnA
SCJD Tips
When we start a thread by applying start() method on it ,how does it knows that to execute run()method?
About Wrapper class in Java
How to configure weblogic 7.0 in MyEclipse?
Static Block and Static Initializer in Java

JavaBeat Website (2004-2008), India
javabeat | about us | planetoss
Copyright (2004 - 2008), JavaBeat