Java与C/C++的结合  被引量:5

Analysis and Application of Two Ways for Interoperability of Java and C/C++

在线阅读下载全文

作  者:曹敬[1] 高璟[1] 

机构地区:[1]河海大学计算机信息及工程学院,江苏南京210098

出  处:《计算机与现代化》2005年第11期112-115,共4页Computer and Modernization

基  金:苏州市水环境质量改善与综合示范项目;国家863项目(2003AA601070)

摘  要:JNI是JDK提供的本地编程接口,它允许Java代码操作其他语言编写的应用程序和库,但调用本地方法的同时也带来了安全问题。CORBA是一个分布式的、面向对象的应用架构规范,它允许对象在异构的、分布式的环境中透明传输,从而也能实现Java与C/C++的互操作。本文比较了JNI和CORBA两种方法的优缺点,并将CORBA应用在一个J2EE架构下的项目中,解决了项目中Java与C/C++的交互问题。Java native interface (JNI) is the native programming interface for Java that is a part of JDK,it allows Java code to operate with applications and libraries written in other langunges. At the same time the security problem follows. CORBA is a specification of a distributed object-oriented computing architecture. It provides interoperability between objects in a heterogeneous, distributed environment and in a way transparent to the programmer. CORBA can he used for interoperability of Java and C/C ++ . This paper compares JNI and CORBA, then analyses an application of CORBA in one project trader J2EE. In this project , CORBA solves the problems d interoperability of Java and C/C ++ .

关 键 词:遗留系统 JAVA本地接口 通用对象请求代理结构 对象请求代理 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象