`
JAVA天地
  • 浏览: 658386 次
  • 性别: Icon_minigender_1
  • 来自: 太原
文章分类
社区版块
存档分类
最新评论

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

阅读更多

Jawin –Java/Win32互动项目:可调用DLLCOM的调用项目
注:原来有一个项目,我一直在找一个像这样的东西,可以用于读取COM或者是DLL,可是不知道为什么在2005年后就没有更新了(下面有介绍),是因为其中的任何原因,这个不清楚,不过能够做到这一步也不错了,至少给我了我们一条去往COM及DLL文件大路了。这里我只是翻译了基本的介绍,如果更详细的,请去JawinSourceForge的站点了解更详细的信息。
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

分享到:
评论

相关推荐

    java使用jawin调用dll文件

    java 通过 jawin 调用dll范例小程序

    JAWIN(Java调用Win API)

    Java调用Win API:SUN官方提供的JNI调用时还要自己生成头文件,对已有的DLL再次进行封装。需要对C++非常熟悉,因为要写C++代码。不过还好还有另一种解决方案——Jawin

    Jawin调用win32 dll

    很不错的组件。可以在JAVA里调用Win32组件

    java通过 jawin和jacob 调用dll文件

    java 通过jawin 调用dll;

    java实例,通过jawin实现对dll中方法的调用

    里面有开源的jawin.jar包和jawin.dll等相应的配置文件,还有一个测试程序,里附注释教你如何配置环境。讲解清楚,代码保证质量!

    jawin-2.0-alpha1

    JAVA调用DLL文件的核Jawin - Java/Win32/COM interoperability project readme. Jawin main page: http://jawinproject.sourceforge.net/ Version 2.0-alpha1, build 2005-03-23 To get started with Jawin, ...

    android_JNI介绍

    JACOB(Java-Com Bridge)提供Java程序调用Microsoft的com队形的方法能力,而除了com对象外,JAWIN(JAVA/WIN32 integration project)还可以Win32-DLL动态链接库中的方法。即JNI > JAWIN > JACOB. JVM封装了各种操作...

    java调用dll/com组件word excel使用jawin架包

    NULL 博文链接:https://zhoutiea.iteye.com/blog/626373

    JAVA调用C/C++ DLL文件方法

    JNI,JNATIVE,JAWIN 使用Java调用DLL动态链接库的方案我知道的有四种:JNI,Jnative,Jawin,Jacob

    vb6、c#、java的jawin-2.0调用c#做的dll

    公司需要做的一个c#的协议解析的dll,可以被vb6、c#及java的jawin-2.0调用,代码已经过测试

    调用DLL示例最新附加易语言

    基本上覆盖了目前主流的开发语言,DLL使用C++编写,演示了VB、C++、DELPHI、JAVA、C#、汇编、易语言调用这个DLL的方法。有些语言我提供了静态和动态2种调用方法。没有写的恕我孤陋寡闻,如果谁知道请联系我QQ:...

    Java调用dll实例

    Java调用dll实例,这里包含了jacob+jawin+jna+jnative方法在内的各种资源以及demo,有许多都是CSDN中的下载资源。由于本人也是新手,为了下载关于调用dll的相关资源消耗了大量积分,特此将手中资源进行汇总,为了方便...

    java 调用DLL 学习笔记

    java 调用DLL 学习笔记,包括 JNI、 JACOB 及JAWIN。 及 dll 查看工具

    调用DLL示例最终版

    基本上覆盖了目前主流的开发语言,DLL使用C++编写,演示了VB、C++、DELPHI、JAVA、C#、汇编调用这个DLL的方法。有些语言我提供了静态和动态2种调用方法。没有写的恕我孤陋寡闻,如果谁知道请联系我QQ:79194034,或者...

    调用DLL示例最新附加JNA

    最近闲着无聊做了个JNA的,第2种JAVA调用DLL库了 基本上覆盖了目前主流的开发语言,DLL使用C++编写,演示了VB、C++、DELPHI、JAVA、C#、汇编、易语言调用这个DLL的方法。有些语言我提供了静态和动态2种调用方法。...

    JAVA调用C++的dell应用例子

    java与dll交互的技术主要有3种:jni,jawin和jacob。Jni(Java Native Interface)是sun提供的java与系统中的原生方法交互的技术(在windows\linux系统中,实现java与native method互调)。目前只能由c/c++实现。后...

    C++、VB、DELPHI、JAVA调用DLL

    之前发布过C++、VB、DELPHI调用DLL的。今天新增JAVA调用DLL的。用的是Jawin库,省得自己另外再写东西了。

    C++、VB、DELPHI、JAVA、C#调用DLL

    C++、VB、DELPHI调用DLL的小例子。... 继加了JAVA调用DLL后,空闲的时候又加了个C#调用的例子。根据以前下载过的朋友的要求,这次把JaWin要用到的几个文件也加进去了。不用再另外去国外网站下了。

    JAVA上百实例源码以及开源项目源代码

     Java局域网通信——飞鸽传书源代码,大家都知道VB版、VC版还有Delphi版的飞鸽传书软件,但是Java版的确实不多,因此这个Java文件传输实例不可错过,Java网络编程技能的提升很有帮助。 Java聊天程序,包括服务端和...

    jawin

    java调用dll文件使用的

Global site tag (gtag.js) - Google Analytics