Jawin –Java/Win32互动项目:可调用DLL及COM的调用项目

 

Jawin –Java/Win32 互动项目:可调用 DLL COM 的调用项目
注:原来有一个项目,我一直在找一个像这样的东西,可以用于读取COM或者是DLL,可是不知道为什么在2005年后就没有更新了(下面有介绍),是因为其中的任何原因,这个不清楚,不过能够做到这一步也不错了,至少给我了我们一条去往COM及DLL文件大路了。这里我只是翻译了基本的介绍,如果更详细的,请去 Jawin在SourceForge的站点了解更详细的信息。
      
        The Java/Win32 integration project (Jawin) is a free, open source architecture for interoperation between Java and components exposed through Microsoft's Component Object Model (COM) or through Win32 Dynamic Link Libraries (DLLs). The current version of Jawin is 2.0-alpha1, build 2005-03-23. The most recent version of this document is located at the Jawin home, kindly hosted by SourceForge.net.
       Java/Win32互动项目( Jawin)是一个免费的开源软件工程,用于和微软的COM或者Win32下面的DLL文件互动。当前Jawin的版本是2.0-alpha1,生成于2005-03-23,最新的文档位于 SourceForge.net上的 Jawin Home
      
       You can use Jawin to interact with scriptable applications such as the Microsoft Office suite. You can use Jawin to call scriptable logic components such as Microsoft's COM-based XML parsers and tools. You can also use Jawin to access Win32 API features such as the Windows registry, security APIs, and the event log. You can also use Jawin to make in-process interoperability with .NET code exposed as COM objects. In fact, Jawin allows your Java applications to call any legacy COM- and DLL-based code, without having to write any Java Native Interface (JNI) code. Using Jawin, you can call any component that can be scripted in the Windows environment. You can also call arbitrary COM components or DLL entry points.
       可以使用Jawin与诸如微软的办公套件的可交互的脚本进行应用程序进行交互,可以获取Win32 API应用程序功能,如Windows注册表,安全APIs,甚至事件日志,可以使用Jawin处理.NET代码象处理COM对象一样。实事上,Jawin允许JAVA应用程序调用任何基于COM及DLL的代码,而不需要写任何Java本地接口(JNI)代码。使用Jawin你可以调用任何可在Windows环境下编程的组件,你也可以调用任意的COM组件或者是DLL实体指针。
 
       awin includes a code generator, Jawin Type Browser, supporting generation of stub code for scriptable as well as non-scriptable COM components. The code generator reads one or more type libraries, and automatically emits the Java stubs needed to call the component(s). The Jawin Type Browser is not (yet) able to generate code for DLL entry points, and not all parameter types are supported for COM components.
Jawin包括一个代码生成器,Java类型查看器,支持为可脚本化或者是非脚本化的COM组件生成根代码,代码生成器读取一个或者是多个类型库,并且自动省略需要用于调用组件的JAVA根。Jawin类型查看器现在还不能为DLL实体指针生成代码,并且并不是支持所有COM组件的参数类型。
      
       Jawin was initiated by Stuart Halloway and Justin Gehtland of Relevance LLC and is an offspring from Stuarts book Component Development for the Java Platform freely available as PDF from the DevelopMentor downloadable books page. Stuart also previously maintained a list of other Java/COM and Java/Win32 interoperability technologies and products (as of spring 2005, this page seems to be unavailable, but can be found at the Internet Archive).
       Jawin创始于来自于Relevance LLC的Stuart Halloway 及 Justin Gehtland,并且是Stauarts的名为《JAVA平台的组件开发》,该书可以从 DevelopMentor downloadable books page免费获取PDF文档。Stauarts原来维护一套其它的 Java/COM and Java/Win32 interoperability technologies and products(在2005年的春天,当前页好像是无法访问,但是可以从 Internet Archive找到)。
 
License
Use of Jawin is subject to the following LICENSE. Jawin includes Konstantin Boukreevs C++ Exception Handling classes. See LICENSE-CPP-Exception for license and copyright details. The Jawin Type Browser includes software developed by the Apache Software Foundation, specifically Xerces and Xalan. See LICENSE-Apache for license and copyright details.
Jawin Resources

这是一个简单的示例:http://blog.csdn.net/fenglibing/archive/2007/08/16/1747430.aspx

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值