请教:什么是JNI?

zuifeng 2004-04-19 11:35:41
我在读有关JDBC的四种类型时,有二种都有一层JNI层。请问什么是JNI?
还有,能不能对这四种类型详细说明一下。(最好是具体的举个例子).
...全文
80 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
holy_phoenix 2004-04-20
  • 打赏
  • 举报
回复
The JNI is for programmers who must take advantage of platform-specific functionality outside of the Java Virtual Machine. Because of this, it is recommended that only experienced programmers should attempt to write native methods or use the Invocation API!
The JNI allows Java code that runs within a Java Virtual Machine (VM) to operate with applications and libraries written in other languages, such as C, C++, and assembly. In addition, the Invocation API allows you to embed the Java Virtual Machine into your native applications.
newmeteor 2004-04-19
  • 打赏
  • 举报
回复
就是java本地接口,与java语言本身无关。
littlegang 2004-04-19
  • 打赏
  • 举报
回复
Java Native Interface
就是Java语言自己实现不了,依赖本地相关的函数接口来实现

62,623

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧