Rule 9:use jni -java native interface judiciously
native methods are used to write performance-critical parts of applications in native languages for improved performance. it is rarely advisable to use native methods for improved performance. in early releases (prior to java 3), it was often necessary, but jvms have gotten much faster since then. A single bug in the native code can corrupt your entire application