The EJB spec disallows JNI calls from EJB's.
However, many application server vendors permit it, including Jboss.
Search in this forums, there is already many topics on this subject.
Wouldn't it be better to create a MBean that does the JNI-Call.
Do other APP servers have similar mechanisms?
Basicly you got 3 choices to include a DLL:
1. You can but it in a container specific directory
of the server. (Search the forum, I know it's there)
And post the Link here, please.
2. Use a JMS call to get out of the server and use
3. Use Web Services or Corba to connect to MS Stuff.