<br><div class="gmail_quote">2011/6/12 Charles Lepple <span dir="ltr"><<a href="mailto:clepple@gmail.com">clepple@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Jun 11, 2011, at 3:53 PM, Arnaud Quette wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
* jNUT Java binding<br>
the exact content of this task is still to be defined, but this should include native client access and NSS support,<br>
the following will be considered with a lower priority:<br>
- device discovery (JNI using libnut-scanner),<br>
- configuration (using Augeas)<br>
- mDNS discovery<br>
I'm currently checking resources staffing with Eaton<br>
</blockquote>
<br>
I'm not a huge fan of Java to begin with,</blockquote><div><br>so do I.<br>but having played with Android a year and a half ago, and having some requests more recently made me think we are still lacking a Java binding...<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> but if I had to interface a Java tool with NUT, I wouldn't want the hassle of native bindings (i.e. JNI) unless it was absolutely necessary. Most of the NUT protocol should be easily implementable in pure Java (including SSL).<br>
</blockquote><div><br>indeed, native client access (ie implement the ascii NUT protocol in Java) is easy enough to be implemented directly (as we have in Python, Nagios plugin, ...)<br>for SSL / NSS, I've seen JSS for example: <a href="http://www.mozilla.org/projects/security/pki/jss/">http://www.mozilla.org/projects/security/pki/jss/</a> <br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I agree that the "lower priority" items might be more easily implemented with JNI.<br>
</blockquote></div><br>this would be limited to discovery, with the 'nut-scanner' project producing a set of libs.<br>Augeas configuration and mDNS already have Java bindings that we should use.<br clear="all"><br>
cheers,<br>Arno<br><br>