Search code examples
c#javajakarta-eerfid

how to communicate between C# (or C++) and JAVA


i am working on a RFID based project in which we should communicate with Gates(RFID tag reader is called a GATE) through our application (and we are using java 2 ee to do this). the problem is the Gates are only shipping with c# and c++ SDK. what is your solution to communicate between c++ / C# and java? is there any so called convertor that can ease the pain? and this is the Gates manufacturer website if you need any more info : http://www.marktrace.com/en/default.html

thank you all.


Solution

  • JNI - Java Native Interface - You can use it to call C++ code from Java. http://docs.oracle.com/javase/6/docs/technotes/guides/jni/

    Here is a tutorial.