uCosminexus Application Server, EJB Container Functionality Guide

[Contents][Glossary][Index][Back][Next]

4.2.9 Precautions concerning loading of the native library

Do not use the System.loadLibrary method to load the native library from the Enterprise Bean. If you load the native library in the Enterprise Bean, java.lang.UnsatisfiedLinkError might occur due to limitations of the JNI specifications. If you must load the native library, create a container extension library to invoke the System.loadLibrary method, and implement in such a way so that the container extension library is referenced from the Enterprise Bean. For details on creating the container extension library, see 14. Container Extension Library in the uCosminexus Application Server Common Container Functionality Guide.