How can we call c++ functions by using java code
-
Dear sir, I have collection of c++ classes,I want use them into my java application. What is the best method to do this. regards sankar
-
Dear sir, I have collection of c++ classes,I want use them into my java application. What is the best method to do this. regards sankar
-
Dear sir, I have collection of c++ classes,I want use them into my java application. What is the best method to do this. regards sankar
Besides JNI you can also do the following. 1. Wrap your C++ code in a executable 2. provide a communications interface (such as sockets) 3. Run/manage the the executable via Runtime.exec() and communicate with it via the communications api. The advantage to this over JNI is that it is easier to debug and the native code cannot crash the java VM.
-
Besides JNI you can also do the following. 1. Wrap your C++ code in a executable 2. provide a communications interface (such as sockets) 3. Run/manage the the executable via Runtime.exec() and communicate with it via the communications api. The advantage to this over JNI is that it is easier to debug and the native code cannot crash the java VM.
I was involved in a commercial product that used this design model and it really was nothing but pain. In the end our management canned the whole thing because the outside company that did the bulk of the development could never get it to work properly.
I must get a clever new signature for 2011.
-
I was involved in a commercial product that used this design model and it really was nothing but pain. In the end our management canned the whole thing because the outside company that did the bulk of the development could never get it to work properly.
I must get a clever new signature for 2011.
-
I worked with a senior developer that could not manage to produce a design document after three tries. On a very simple project. And before the third try I had basically outlined the document in detail to him.