[1]周强,乐小虬,李曦.JNI技术在桌面搜索工具中的应用[J].计算机技术与发展,2013,(02):170-172.
ZHOU Qian,LE Xiao-qiu,LI Xi.Applications of JNI Technology in Desktop Search Tool[J].,2013,(02):170-172.
点击复制
JNI技术在桌面搜索工具中的应用(
)
《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]
- 卷:
-
- 期数:
-
2013年02期
- 页码:
-
170-172
- 栏目:
-
应用开发研究
- 出版日期:
-
1900-01-01
文章信息/Info
- Title:
-
Applications of JNI Technology in Desktop Search Tool
- 文章编号:
-
1673-629X(2013)02-0170-03
- 作者:
-
周强1; 乐小虬1; 李曦2
-
[1]中国科学院 国家科学图书馆;[2]中国科学技术大学
- Author(s):
-
ZHOU Qian; LE Xiao-qiu; LI Xi
-
-
- 关键词:
-
Java虚拟机发; Java本地接口; 桌面搜索
- Keywords:
-
Java virtual machine; JNI; desktop search
- 文献标志码:
-
A
- 摘要:
-
DocFetcher是一个用Java语言编写的优秀开源桌面搜索工具,该工具支持的文档格式有PDF、Word、PowerPoint等.作者对DocFetcher进行了剪裁,编写了创建索引和检索索引程序. e划通是用Visual C++开发的,为了在e划通中集成DocFetcher,就需要采用C语言调用Java的技术(Java Native Interface,简称JNI)来实现.文中首先介绍了JNI,接着对该桌面搜索工具JNI中C部分的程序进行了说明,分为三部分,即创建Java虚拟机、创建索引、检索索引,文中列出了主要的程序代码,并且进行了详细说明.现在,该桌面搜索工具应用在e划通2.5完全版中,功能使用正确,运行稳定.采用JNI作为数据交换的桥梁,会给软件的实现带来极大的灵活性. C语言可以在完全体现自身优势的情况下,整合Java语言开发的软件,更大范围地实现了软件重用
- Abstract:
-
DocFetcher is an excellent open source desktop search tool written in the Java language,the tool supports document formats such as PDF,Word and PowerPoint. DocFetcher is trimmed,writing the creation index and retrieval index program. E-pass was developed using Visual C++,in order to integrate DocFetcher with e-pass,need to use C programming language called Java technology (Java N-ative Interface,referred to as JNI) implementations. It first describes the JNI,then describes the part C of JNI program in the desktop search tool,is divided into three parts,creating Java virtual machine,creating index,retrieving index. It lists the main program code with detailed description. Now,the desktop search tool has applied in the e-pass 2. 5 full version,features using correctly,stable operation. U-sing JNI as a bridge of data exchange,will give great flexibility of software. C language can be entirely in case of its own advantages,in-tegrates software developed by Java language,greater scope to achieve software reuse
相似文献/References:
[1]贺致智 王晖.瘦客户端的Oracle数据库连接技术研究[J].计算机技术与发展,2006,(07):7.
HE Zhi-zhi,WANG Hui.Oracle Database Connection Research with Thin Client[J].,2006,(02):7.
更新日期/Last Update:
1900-01-01