Java Native Access provides Java programs easy access to native shared libraries without using the Java Native Interface. JNA's design aims to provide native access in a natural way with a minimum of effort. No boilerplate or generated glue code is required. While some attention is paid to performance, correctness and ease of use take priority. The JNA library uses a small native library called libffi to dynamically invoke native code.

PropertyValue
dbpedia-owl:Software/license
dbpedia-owl:Software/size
  • 606.9000
dbpedia-owl:Software/status
  • Active
dbpedia-owl:Work/genre
dbpedia-owl:genre
dbpedia-owl:license
dbpedia-owl:size
  • 606.9000
dbpedia-owl:status
  • Active
dbpprop:abstract
  • Java Native Access provides Java programs easy access to native shared libraries without using the Java Native Interface. JNA's design aims to provide native access in a natural way with a minimum of effort. No boilerplate or generated glue code is required. While some attention is paid to performance, correctness and ease of use take priority. The JNA library uses a small native library called libffi to dynamically invoke native code. The JNA library uses native functions that allow code to load a library by name and retrieve a pointer to a function within that library, and uses libffi library to invoke it, all without static bindings, header files, or any compile phase. 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.
  • Java Native Access (JNA) ist eine Java-Programmbibliothek für den Zugriff auf plattformspezifische ("native") dynamische Programmbibliotheken. Hierbei muss im Unterschied zu JNI kein plattform-spezifischer Code geschrieben werden. JNA ist in der Funktion mit den . NET Platform Invocation Services (P/Invoke) vergleichbar. Es unterstützt eine automatische Umwandlung zwischen einigen C- und Java-Datentypen. Die erforderliche Java-Mindestversion ist 1.4.
  • Java Native Access (JNA) とは、Java プログラムがJava Native Interfaceを用いずにネイティブの共有ライブラリにアクセスする方法を提供するライブラリである。JNA は最小限の作業でネイティブコードへアクセスできることを目指して設計されており、決まりきったアクセスコードを書いたりグルーコードの生成を行ったりせず、ネイティブコードへ正しく簡単にアクセスすることを最優先としている(ただし、性能にも注意が払われている)。JNA ライブラリはネイティブコードを呼び出すためにlibffiを用いており、名前を指定してライブラリをロードするネイティブの関数を用いて、目的のライブラリ関数の関数ポインタを取得する。ネイティブコードにアクセスする過程で静的なバインディング、ヘッダファイル、またコンパイルは必要ない。アプリケーションの開発者は Java のインターフェイスを用いて対象のネイティブライブラリの関数や構造体を記述する。これによって、JNI コードを記述しビルドする大きな労力をかけずにきわめて簡単にネイティブプラットフォームの機能を利用することができる。
dbpprop:genre
dbpprop:latestReleaseDate
dbpprop:latestReleaseVersion
  • 3.2.0
dbpprop:license
  • LGPL version 2.1 or later.
dbpprop:name
  • Java Native Access
dbpprop:operatingSystem
dbpprop:portalProperty
  • Free Software
  • Free Software Portal Logo.svg
dbpprop:programmingLanguage
dbpprop:reference
dbpprop:size
  • 606.9 KB (archived)
dbpprop:status
  • Active
dbpprop:website
  • https://jna.dev.java.net
dbpprop:wikiPageUsesTemplate
dbpprop:wordnet_type
rdf:type
rdfs:comment
  • Java Native Access provides Java programs easy access to native shared libraries without using the Java Native Interface. JNA's design aims to provide native access in a natural way with a minimum of effort. No boilerplate or generated glue code is required. While some attention is paid to performance, correctness and ease of use take priority. The JNA library uses a small native library called libffi to dynamically invoke native code.
  • Java Native Access (JNA) ist eine Java-Programmbibliothek für den Zugriff auf plattformspezifische ("native") dynamische Programmbibliotheken. Hierbei muss im Unterschied zu JNI kein plattform-spezifischer Code geschrieben werden. JNA ist in der Funktion mit den . NET Platform Invocation Services (P/Invoke) vergleichbar. Es unterstützt eine automatische Umwandlung zwischen einigen C- und Java-Datentypen. Die erforderliche Java-Mindestversion ist 1.4.
rdfs:label
  • Java Native Access
  • Java Native Access
  • Java Native Access
owl:sameAs
skos:subject
foaf:homepage
foaf:name
  • Java Native Access
foaf:page