Ways for Calling a Java Application from C/C++ ?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   John_Smith
Posted On:   Friday, June 21, 2002 07:05 AM

What are the ways to call Java Application from C/C++ As, I know a Java Application can be called by C/C++ ;but the process initiation is done by Java Application. (Java Class->C/C++ ->Java ....& so on) For initiating and calling Java Application from C/C++ JVM should be invoked. Is there any other way(other than invoking JVM) through a Java Application can be called by C/C++? If not, than how the threading is done in invoking JVM for every request to java Application ? One More thing ,In all the books & turorials(Sun,Rob Gordon) the JNI programming(especially invocation of JVM) is for JDK1.1 & JDK1.2 . Is there any change in JNI versio   More>>

What are the ways to call Java Application from C/C++


As, I know a Java Application can be called by C/C++ ;but the process initiation is done by Java Application.
(Java Class->C/C++ ->Java ....& so on)


For initiating and calling Java Application from C/C++
JVM should be invoked.


Is there any other way(other than invoking JVM) through a Java Application can be called by C/C++?


If not, than how the threading is done in invoking JVM for every request to java Application ?


One More thing ,In all the books & turorials(Sun,Rob Gordon)
the JNI programming(especially invocation of JVM) is for JDK1.1 & JDK1.2 .


Is there any change in JNI version 1.2 in JDK1.3 & JDK1.4
(Are these codes works with latter versions of JDK)?

   <<Less
About | Sitemap | Contact