Any Java Native API for MapD?


#1

Any JNI API for Java? What are benefits of JNI API compare to JDBC/ODBC?


#2

Hi @CharlieCL,

With JNI you lose the main advantage of using Java which is - write once and run anywhere - platform independence. Also, trying to debug runtime error in the native code is complex. I do not see any documentation for Java Native API for MapD.


#3

Java’s marketing slogan “Write once and run anywhere” does not exist in real-world. Android platform is an example. You can use Java call native JNI APIs by using NDK. No need Java to run anywhere here but Android.