Java function call from c++ Application
I'm new to Java, One of our client have generic APIs for there business logic, those are written in JAVA, now we want to use some of these APIs in C++ application. Can any one suggest/address me the better way to do this?Thanks in advance.Regards,--Ravi.
There is a way to do it via JNI. As far as I remember, it involves instantiating a JVM from C++, then calling the method.You will need to read the Java JNI specification, as well as any tutorials on it that you can find.McF