<legend id='Ny9ME'><style id='Ny9ME'><dir id='Ny9ME'><q id='Ny9ME'></q></dir></style></legend>
    <bdo id='Ny9ME'></bdo><ul id='Ny9ME'></ul>
  • <i id='Ny9ME'><tr id='Ny9ME'><dt id='Ny9ME'><q id='Ny9ME'><span id='Ny9ME'><b id='Ny9ME'><form id='Ny9ME'><ins id='Ny9ME'></ins><ul id='Ny9ME'></ul><sub id='Ny9ME'></sub></form><legend id='Ny9ME'></legend><bdo id='Ny9ME'><pre id='Ny9ME'><center id='Ny9ME'></center></pre></bdo></b><th id='Ny9ME'></th></span></q></dt></tr></i><div id='Ny9ME'><tfoot id='Ny9ME'></tfoot><dl id='Ny9ME'><fieldset id='Ny9ME'></fieldset></dl></div>

      <small id='Ny9ME'></small><noframes id='Ny9ME'>

    1. <tfoot id='Ny9ME'></tfoot>

        如何选择 Java-COM 桥接器?

        时间:2023-09-26
          <i id='9Pit6'><tr id='9Pit6'><dt id='9Pit6'><q id='9Pit6'><span id='9Pit6'><b id='9Pit6'><form id='9Pit6'><ins id='9Pit6'></ins><ul id='9Pit6'></ul><sub id='9Pit6'></sub></form><legend id='9Pit6'></legend><bdo id='9Pit6'><pre id='9Pit6'><center id='9Pit6'></center></pre></bdo></b><th id='9Pit6'></th></span></q></dt></tr></i><div id='9Pit6'><tfoot id='9Pit6'></tfoot><dl id='9Pit6'><fieldset id='9Pit6'></fieldset></dl></div>
        • <tfoot id='9Pit6'></tfoot>

        • <small id='9Pit6'></small><noframes id='9Pit6'>

                <tbody id='9Pit6'></tbody>
                <legend id='9Pit6'><style id='9Pit6'><dir id='9Pit6'><q id='9Pit6'></q></dir></style></legend>
                • <bdo id='9Pit6'></bdo><ul id='9Pit6'></ul>
                  本文介绍了如何选择 Java-COM 桥接器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我必须创建一个自动执行 Outlook 和 Word 的应用程序,并且我想使用 Java 来完成该任务.(唯一允许的替代方案是 VB6,所以...)

                  I have to create an application which automates Outlook and Word and I want to use Java for that task. (The only allowed alternative would be VB6, so...)

                  通过 Google 快速调查后,我发现了几个库,但我不确定要使用哪一个:

                  After a quick Google survey I found several libraries, but I'm not sure which one to use:

                  • J-Interop
                  • SWT
                  • 雅各布
                  • COM4J
                  • jacoZoom
                  • ...

                  我不知道如何比较这些库并做出明智的决定.似乎 COM4J 有点过时,JACOB 泄漏内存(据称)并且 jacoZoom 是商业的.每一个似乎都需要大量样板代码来执行简单的方法调用.(考虑到 COM 的设计,这可能是不可避免的)

                  I have no idea how to compare these libraries and make an informed decision. It seems that COM4J is a little bit outdated, JACOB leaks memory (allegedly) and jacoZoom is commercial. Each and every one seems to require a lot of boilerplate code to perform a simple method call. (Which might be unavoidable given the design of COM)

                  除此之外,我不知道如何在其中之一之间进行选择.哪一个是最好的?

                  Besides that I have no idea how to choose between one of them. Which one is the best?

                  推荐答案

                  我们在生产环境中使用 Jacob,效果很好.然而,这些项目似乎不是很活跃.

                  We use Jacob in production environment and it works out pretty well. Nevertheless the projects seems to be not very active.

                  说到这一点:Activity 似乎是 J-Interop 的一个优势.我们也尝试了这个项目,它似乎工作得非常好,甚至有更好的日志消息.我想我们可能会为新项目选择 J-Interop.

                  Speaking of which: Activity seems to be an advantage for J-Interop. We tried the project as well and it seems to work out pretty good with even better logging messages. I think we might choose J-Interop for new projects.

                  COM4J 似乎已经过时了,你是对的.

                  COM4J seems to be outdated, you're right.

                  这篇关于如何选择 Java-COM 桥接器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:java-COM interop:用Java实现COM接口 下一篇:如何使用 C# 或 C++ 读取 COM TypeLib?

                  相关文章

                  最新文章

                  • <bdo id='gUGaH'></bdo><ul id='gUGaH'></ul>

                  <small id='gUGaH'></small><noframes id='gUGaH'>

                • <i id='gUGaH'><tr id='gUGaH'><dt id='gUGaH'><q id='gUGaH'><span id='gUGaH'><b id='gUGaH'><form id='gUGaH'><ins id='gUGaH'></ins><ul id='gUGaH'></ul><sub id='gUGaH'></sub></form><legend id='gUGaH'></legend><bdo id='gUGaH'><pre id='gUGaH'><center id='gUGaH'></center></pre></bdo></b><th id='gUGaH'></th></span></q></dt></tr></i><div id='gUGaH'><tfoot id='gUGaH'></tfoot><dl id='gUGaH'><fieldset id='gUGaH'></fieldset></dl></div>

                  1. <tfoot id='gUGaH'></tfoot>
                      <legend id='gUGaH'><style id='gUGaH'><dir id='gUGaH'><q id='gUGaH'></q></dir></style></legend>