blog of complete JNI interface