数字通信世界2024,Issue(4) :89-91.DOI:10.3969/J.ISSN.1672-7274.2024.04.026

Java Native Interface技术研究、设计与实践

Research,Design,and Practice of Java Native Interface Technology

刘玉龙 朱文松
数字通信世界2024,Issue(4) :89-91.DOI:10.3969/J.ISSN.1672-7274.2024.04.026

Java Native Interface技术研究、设计与实践

Research,Design,and Practice of Java Native Interface Technology

刘玉龙 1朱文松2
扫码查看

作者信息

  • 1. 安徽建筑大学研究生院,安徽 合肥 230022
  • 2. 咸亨国际科技股份有限公司,浙江 杭州 310000
  • 折叠

摘要

文章研究Java程序与本机代码交互的机制,它通过在Java虚拟机(JVM)和本机代码之间提供一组接口来实现.JNI可用于访问本机库、函数和数据结构.通过具体实例的实现,验证了在保持Java平台无关性的同时又充分发挥了本地平台的优势.

Abstract

This article investigates the mechanism of interaction between Java programs and native code,which is achieved by providing a set of interfaces between the Java Virtual Machine(JVM)and native code.JNI can be used to access native libraries,functions,and data structures.Through the implementation of specific examples,it has been verified that the advantages of the local platform are fully utilized while maintaining Java platform independence.

关键词

Java/JNI/Win32

Key words

Java/JNI/Win32

引用本文复制引用

出版年

2024
数字通信世界
电子工业出版社

数字通信世界

影响因子:0.162
ISSN:1672-7274
参考文献量6
段落导航相关论文