Talk:Java Native Access
|WikiProject Java||(Rated Start-class, Mid-importance)|
|WikiProject Computing / Software||(Rated Start-class)|
I find the types section quite dubious, since it seems pretty windows oriented with the special win32 names and the (C/C++) types with the length they commonly have ON WINDOWS, on linux for example int is usually 64-bits and on very old systems it may be 16 bits. then wikipedia is not a how-to. Flow, 18.104.22.168, 20 dec 2010 19:46 (GMT+1)
- The types section is grabbed from the JNA documentation, which is where the byte sizes and such are given. IsmAvatar (talk) 08:38, 2 August 2011 (UTC)
I may be too stupid to get this idea but why would SVNKit that reportedly is a 'pure Java Subversion client library' use Java Native Access? Isn't that a case of either or? 22.214.171.124 (talk) 12:29, 6 August 2009 (UTC)
- There are two downloadable versions - one with, and one without. So it is pure Java, but, with JNA, it can make some native calls for faster access. More information can be found on this page. IsmAvatar (talk) 08:43, 2 August 2011 (UTC)
Moved for discussion
Moved from the article for discussion. The following appears to have been added against WP:COI and is unsourced. Perhaps some if it could be incorporated into the article if properly sourced. --Ronz (talk) 16:31, 8 August 2008 (UTC)
Partial source is a bit I wrote on the JNA project page; I can only vouch for what happened when I took over the project; I summarized prior history from the project publication announcement. --twall 00:07, 18 October 2008 (EST)
Fragments of the JNA project date back to a small shared stubs library originally written by Sheng Liang of the Sun Microsystems JNI team and demoed at JavaOne circa 1999.
Over the next seven years, Todd Fast (also of Sun) heavily modified Sheng's library to add full Win32 support, provide a friendlier API, and expand the ability to map native libraries, functions, and types to Java equivalents. He first published the project on java.net under the name of "Java Native Access (JNA)" in the fall of 2006. The name was intended to reflect both the similarities to and differences from the Java Native Interface (JNI), which is the standard (though relatively difficult) mechanism for accessing native code from Java.
Timothy Wall became the maintainer of the project in February 2007, and has contributed by expanding the feature set, adding linux and OSX ports, and making the library usable for more advanced function types. Wayne Meissner contributed significantly to enable a wide range of ports by incorporating libffi and enabling 64-bit targets.
In the first public release, cross-platform support was limited to Solaris and Win32 and there was only partial struct support for native calls. With the purported goal of providing a concise programming model for developers, the API took advantage of JDK 5's annotations and type safety features, though these features were later removed to support using JNA with earlier versions of the Java VM. Finally, as a result of Todd's work on the project at Sun, JNA is packaged under the com.sun domain, though most of the work on the project has since shifted to parties outside of Sun.
JNA only handles C and the C subset of C++, right?
Hello fellow Wikipedians,
I have just modified one external link on Java Native Access. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:
- Added archive https://web.archive.org/web/20090523145246/http://today.java.net/pub/a/today/2009/05/19/protect-your-legacy-code-jna.html to http://today.java.net/pub/a/today/2009/05/19/protect-your-legacy-code-jna.html
|checked=, on this template, to true or failed to let other editors know you reviewed the change. If you find any errors, please use the tools below to fix them or call an editor by setting
|needhelp= to your help request.
- If you found an error with any archives or the URLs themselves, you can fix them with this tool.
|needhelp=<your help request> on this template to request help from an experienced user. Please include details about your problem, to help other editors.