首页 | 本学科首页   官方微博 | 高级检索  
     

在Java中访问自动化COM组件
引用本文:来社安.在Java中访问自动化COM组件[J].数字社区&智能家居,2006(11).
作者姓名:来社安
作者单位:同济大学软件学院 上海201804
摘    要:与其他编程语言相比,Java有很多优点,尽管如此,你常常希望在你的代码中访问其他语言写的应用或者程序库,尤其是COM组件。标准Java没有对COM提供支持,但是,你可以对自动化COM组件主要是COM组件的Idispatch接口进行封装,然后通过使用Java本地接口(JNI)来访问COM组件。

关 键 词:COM  自动化  组件  接口  JNI

Access Automation COM Component in Java
LAI She-an.Access Automation COM Component in Java[J].Digital Community & Smart Home,2006(11).
Authors:LAI She-an
Abstract:Java programming language has more advntanges than other programming languages,nevertheless you want your java code to operate with application and libraryies written in other languages,especially COM components.Standard Java has no support for COM, but you can encapsulate automation COM components,and then access automation COM components through using the JNI.The detail is narrated in the paper.
Keywords:COM  Automation  Component  Interface  JNI  
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号