JNI Template Library