Can you please tell me, if it is possible to use JNA in a web application? I can successfully use JNA to access various DLLs in a console application, but still did not manage to work with it in some servlet container, it always gives me java.lang.UnsatisfiedLinkError: Unable to load library error. What must be done to get it working?
My application is built using maven. I am trying to run it on Windows platform, and the native library is loaded using the following code fragment:
The native library (g95java.dll) is in "other sources" folder of maven project.
Unfortunately, this aspect of JNA (web development) is almost not documented.
And, by the way, is there any other way to call DLLs in web application, except JNA?
Thank you in advance!