Discussions

General J2EE: Can I call java object in c/c++?

  1. Can I call java object in c/c++? (2 messages)

    Hi all
       Can I call java object in c/c++? and How to do?
       Thanks!
  2. Can I call java object in c/c++?[ Go to top ]

    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.

    Andy
  3. Can I call java object in c/c++?[ Go to top ]

    Hi
      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!