Advantages and disadvantages of using Java Native Interface (JNI)?
Submitted by: AdministratorAdvantages:
Developers can take the advantage of Java platform.
Legacy code investments need not be abandoned.
Interoperability issues can be addressed
Implements two-way interface that allows java applications to invoke native code and vice versa.
Disadvantages :
It is difficult to debug runtime error in native code
Security risk is high
JVM causes down by the errors in JNI code and do not provide mechanism for recovery
Heavy weight process as all the queries use strings..
Submitted by: Administrator
Developers can take the advantage of Java platform.
Legacy code investments need not be abandoned.
Interoperability issues can be addressed
Implements two-way interface that allows java applications to invoke native code and vice versa.
Disadvantages :
It is difficult to debug runtime error in native code
Security risk is high
JVM causes down by the errors in JNI code and do not provide mechanism for recovery
Heavy weight process as all the queries use strings..
Submitted by: Administrator
Read Online Java JNI Job Interview Questions And Answers
Top Java JNI Questions
☺ | Describe exception handling in JNI? |
☺ | Advantages and disadvantages of using Java Native Interface (JNI)? |
☺ | Explain Exception Handling in JNI? |
☺ | What is Java Native Interface (JNI)? |
☺ | What is Native Interface in JAVA? |
Top Java Programming Language Categories
☺ | Core Java Interview Questions. |
☺ | Hibernate Interview Questions. |
☺ | Advanced Java Interview Questions. |
☺ | IBM WebSphere Interview Questions. |
☺ | Spring Framework Interview Questions. |