Java Native Method Invocation performance considerations
IBM® Technology for Java™ supports invocation of both ILE and PASE for i native methods. The invocation of an ILE native method is more expensive than the invocation of an PASE for i native method.
If you have a native method that will be invoked frequently, the native method should be written to run in PASE for i.
You should use native methods to start system functions that are relatively long running and are not available directly in Java.