I personally would not recommend this approach. JNI is useful for interfacing with essential OS services and as a stopgap for accessing libraries which are available only via JNI.

JNI is however a poor (endlessly painful) solution for importing arbitrary libraries for use within Java. Managing bridging of memory and object references across the JNI interface, dealing with garbage collection and object lifecycle, etc. can become very complicated quickly especially with a library with a large interface and/or lots of state data in structs.

Mike

[EMAIL PROTECTED] wrote:
Hi all,
I read that it is possible to use Gnutls in java application using JNI.
Exsist any reference guide that explain how to use gnutls in java jsp for
authentication (step by step)?
Thanks,

Simone.

_______________________________________________
p2p-hackers mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/p2p-hackers

Reply via email to