Hi Jaime,

Another way is to use JNA.

JNI works fine but you need to implement your lib wrapper. So you need to provide some C code. JNI is provided by the JDK.

With JNA (Java Native Access) is API that give you access to lib directly (without middle tier wrapper).

https://jna.dev.java.net/

Regards
JB

Jaime Hablutzel Egoavil wrote:
Hi, last month I was testing servicemix, now I want to try to implement it,
and I want to know if there is a way to connect to native windows .dll from
inside a servicemix bundle, I make this question because I have knowledge
that there are several restrictions inside of servicemix, like for ldap.

I'm thinking in using a library like this one:

http://johannburkard.de/blog/programming/java/Call-native-methods-in-a-DLL-from-Java-without-JNI.html

or maybe JNI (that I don't know quite well yet).

Thank you.


--
Jean-Baptiste Onofré (Nanthrax)
BuildProcess/AutoDeploy Project Leader
http://buildprocess.sourceforge.net
[email protected]
PGP : 17D4F086

Reply via email to