Java JNI Question:
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.
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.
Previous Question | Next Question |
What is finalize()? Is finalize() similar to a destructor? | What is Native Interface in JAVA? |