Link Details

Link 201424 thumbnail
User 225256 avatar

By mswatcher
via ibm.com
Published: Jul 11 2009 / 12:46

The Java™ Native Interface (JNI) is a standard Java API that enables Java code to integrate with code written in other programming languages. JNI can be a key element in your toolkit if you want to leverage existing code assets — for example, in a service-oriented architecture (SOA) or a cloud-based system.
  • 20
  • 0
  • 1275
  • 410

Comments

Add your comment
User 388907 avatar

MCII replied ago:

0 votes Vote down Vote up Reply

Avoid it. It's the best you can do with JNI.

User 75637 avatar

adobni replied ago:

0 votes Vote down Vote up Reply

Sometimes you just can't avoid JNI.

User 388907 avatar

MCII replied ago:

0 votes Vote down Vote up Reply

Always let the Java program call the C/C++ program. Don't let the C/C++ program call Java code, i.e. don't use JNI.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.