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.
[283 byte] By [Vemulapallia] at [2007-10-1 2:10:50]
# 1
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
jagulara at 2007-7-8 10:40:36 > top of Java-index,Java Essentials,Java Programming...
# 2
You can also set up a Java program to wrap the API and access it through some interprocess communication, best through sockets.
BIJ001a at 2007-7-8 10:40:36 > top of Java-index,Java Essentials,Java Programming...