Can I call java object in c/c++? and How to do?
Sure, there are a few ways. You can use CORBA, JNI or any form of IPC. All methods will require lots of effort, if you're not familiar with the method.
If you want to use JNI, I would suggest purchasing the book "The Java Native Interface" by Sheng Liang. Take a look at the chapter on the invocation interface. It should contain some helpful information.
I want to use JDBC access database,and in c/c++ call these;Because JDBC can span database,this idea is ok in
jni? I donot use CORBA,It require a ORB,my c/c++ code
are not in CORBA.
any suggestion will be appreciated!