是否有可能从Java调用一个COM API? [英] Is it possible to call a COM API from Java?
问题描述
是否有可能从Java调用一个COM API(特别是HP /美科利质量中心OTA API)?如果是这样,什么是最好的方法是什么?
Is it possible to call a COM API from Java (specifically the HP/Mercury Quality Center OTA API)? If so, what's the best way?
是一样的东西JACOB合适?
Is something like JACOB appropriate?
code片段将为基础会有所帮助: - )
Code fragments would be helpful for the basics :-)
推荐答案
雅各布:是的,的http:/ /sourceforge.net/projects/jacob-project/ 是一个活跃的项目,将适合你的目的pretty很好。
jacob : yes, http://sourceforge.net/projects/jacob-project/ is an active project that will suite your purpose pretty well.
您可以看到多个例子: HTTP://jacob-project.wiki.sourceforge。净/事件+回调
you can see multiple examples : http://jacob-project.wiki.sourceforge.net/Event+Callbacks
但如果你想要的东西,更多的是测试并愿意支付的钱,然后去的 http://www.nevaobject.com/_docs/_java2com/java2com.htm 。
but if you want something that is more tested and are willing to pay money, then go for http://www.nevaobject.com/_docs/_java2com/java2com.htm.
这篇关于是否有可能从Java调用一个COM API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!