The concept,meaning and applications of JNI(Java Native Inter face) are introduced.Based on the theory of JNI, an application frame about Java calling the dynamic l ink libraries files is analyzed and implemented. By means of middle-agent and c o nversion of data types,all the problems are resolved in the application development. The techniques of programming are introduced with t he examples.The practice shows that the frame can solve this ki nd of problems.