[r23598]: plugins / JNAPlugin / trunk / docs / JNAPlugin.html Maximize Restore History

Download this file

JNAPlugin.html    14 lines (12 with data), 1.3 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
<html>
<body>
<h2>JNA Plugin</h2>
<p>JNA provides Java programs easy access to native shared libraries (DLLs on Windows) without writing anything but Java code&#8212;no JNI or native code is required. This functionality is comparable to Windows' Platform/Invoke and Python's ctypes. Access is dynamic at runtime without code generation.</p>
<p>JNA allows you to call directly into native functions using natural Java method invocation. The Java call looks just like it does in native code. Most calls require no special handling or configuration; no boilerplate or generated code is required.</p>
<p>The JNA library uses a small native library stub to dynamically invoke native code. The developer uses a Java interface to describe functions and structures in the target native library. This makes it quite easy to take advantage of native platform features without incurring the high overhead of configuring and building JNI code for multiple platforms.</p>
<p>While some attention is paid to performance, correctness and ease of use take priority.</p>
<p>This plugin makes the JNA jar file available as a dependency to other plugins to use.</p>
<h3>Change log:</h3>
<p>23 Jun 2014, Version 3.5.2, updated to JNA version 3.5.2 since the Subversion plugin needs this.</p>
</body>
</html>