Multiple JNI processes
Tim Panton - Westhawk Ltd
tpanton at ibm.net
Sat Nov 12 19:29:10 PST 2005
You might put a java wrapper around the dll, and run a pool of
them(each a separate process)
and talk to them via rmi .
If your dll is available as a COM
object, you could try using jintegra
to talk to it, in Com you can specify
if each instance gets a separate process.
T.
mark.foley at customs.gov.au wrote:
__________
>Hi All!
>
>Using Servlets with WinNT/WebSphere I am using the JNI to access a third
>party DLL. This DLL is not thread safe, but can happily be used
>simultaneously by more than one NT process. At the moment I am using
>synchronized class methods in an interface class to access the library
>functions, and am experiencing a dreadful performance hit.
>
>I wonder if it is possible to somehow load a DLL into a seperate process and
>thereby enable me to avoid queuing every native method call?
>
>Or is this a stupid question/wish, and I should reread the JNI/JVM spec?
>
>Thanks for any pointers,
>
>Mark
URL http://www.westhawk.co.uk/
---
To unsubscribe, mail advanced-java-unsubscribe at xcf.berkeley.edu
To get help, mail advanced-java-help at xcf.berkeley.edu
More information about the Advanced-java
mailing list