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 - Part3


1)Can I use JDI to monitor which the classes that are being loaded and information about which classloader is being used to load each of the classes?


import java.io.*; import java.util.*; import com.sun.jdi.*; import com.sun.jdi.connect.*; import com.sun.jdi.event.*; import com.sun.jdi.requirement.


2)What is JAWIN?


The Java/Win32 integration project is free, open source architecture for interoperation between Java and components exposed through Microsoft.


3)How can I start a shutdown 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.


4)How to make calls to C or C++ methods from a Servlets?


We have to use JNI.


5)Can I insert ActiveX controls in SWT?


Yes.


6)What is SWT?


SWT is the software component (part of the Eclipse IDE Framework) that delivers native widget functionality for the Eclipse platform in an operating...



7)How can I use JNI with WebSphere Application Server (WAS)?


One problem is that Servlets cannot load libraries because they are in a custom classloader. Move the Servlets to a location in the application server...



8)can I call activex control developed in VB/VC in java using JNI? Is it possible to call activex control developed in VB/VC from JAVA and if yes how?


Yes, it's possible: Bridge2Java (from IBM alphaWorks) allows Java programs to communicate easily with ActiveX objects, using the JNI and COM technology....


9)Tools for Native Exe generation. What tools can I use to generate a native executable from my *.class files?


These tools fall into 2 categories. Those that package interpreted code into exes (wrappers) and those that actually compile the java code to machine...


10)How can I access java from Python (and the other way around)? Are there any JNI wrappers which can bridge the gap between the two?


JPE (Java-Python Extension) is an open-source effort for seamless inter-operability between Java and Python. Java-Python Extension main site JPE


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