wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes JNI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JNI" Watch "JNI" New topic
Author

JNI

Dishi Malhotra
Greenhorn

Joined: Dec 13, 2000
Posts: 22
plz tell me can i call visual basic code directly through JNI or exe only if exe then how would i call the supporting file of exe
thnx waiting for reply
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521


The JNI framework lets your native method utilize Java objects in the same way that Java code uses these objects. A native method can create Java objects, including arrays and strings, and then inspect and use these objects to perform its tasks. A native method can also inspect and use objects created by Java application code. A native method can even update Java objects that it created or that were passed to it, and these updated objects are available to the Java application. Thus, both the native language side and the Java side of an application can create, update, and access Java objects and then share these objects between them.
Native methods can also easily call Java methods.

From: http://java.sun.com/docs/books/tutorial/native1.1/concepts/index.html


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
jQuery in Action, 2nd edition
 
subject: JNI