I am working a piece of application to do user authentication in which I have to call a native DCE client as no java interface available. My current implementation is to encapsulate all the dce logic inside a C++ object and make this object do the work from jni. Since this is a typical mission critical process for the application, performance is of critial importance. I am looking for a method to make the C++ object alive. Right now every time a user login, this object is created and deleted inside the jni call. This object creation and destruction is too costing. Please let me know if you have an idea to make this native object alive. Thanks.