Explain the advantages and disadvantages of using JNI.
Answer
Advantages of JNI
Using JNI, we can access c and c++ code which adds performance boost to JAVA.
JNI allows JAVA to access some hardware features using other languages like c
and c++.
Disadvantages of JNI
JNI uses native languages which mean it has portability issue.
Code debug is big problem for the developers who use JNI features in JAVA.
|
More JNI Links
Answer - JNI is the mechanism used to invoke methods written in
language.....
Answer - Using JNI, we can access c and c++ code which adds....
|
|