节点文献
基于JNI的Java与其他高级语言之间通信的研究与应用
Communication between Java and other advance language based on JNI
【摘要】 作为近年来新兴的Java编程语言势必要与已经由其他高级语言编写的服务器、应用接口工具包及程序相结合,因此Java平台提供本地接口JNI来简化这一过程.本文将叙述如何使用JNI在Java编写的程序中调用其他高级语言编写的本地库和本地方法,并用一个实例来说明如何应用JNI来解决Java语言与其他高级语言之间的通讯问题.
【Abstract】 Being a relatively new programming language, Java needs to integrate its programs with existing non-Java language services, API toolkits, and programs.Java platform provides the Java Native Interface (JNI) to help ease this type of integration.This paper explains how to use JNI in programs written in the Java programming language to call any libraries on the local machine, call Java method from inside native code, and brings an instance to show how to put JNI into use.
【关键词】 Java虚拟机;
Java本地接口;
动态链接库;
本地方法声明;
【Key words】 JVM(Java Virtual Machine); JNI(Java Native Interface); DLL(Dynamic Linking Library); native method declaration;
【Key words】 JVM(Java Virtual Machine); JNI(Java Native Interface); DLL(Dynamic Linking Library); native method declaration;
- 【文献出处】 广西大学学报(自然科学版) ,Journal of Guangxi University(Natural Science Edition) , 编辑部邮箱 ,2005年01期
- 【分类号】TP312
- 【被引频次】20
- 【下载频次】234