Is it possible to call a COM API from Java?

Chris Carruthers picture Chris Carruthers · Sep 26, 2008 · Viewed 13k times · Source

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?

Is something like JACOB appropriate?

Code fragments would be helpful for the basics :-)

Answer

anjanb picture anjanb · Sep 26, 2008

jacob : yes, http://sourceforge.net/projects/jacob-project/ is an active project that will suite your purpose pretty well.

you can see multiple examples : http://jacob-project.wiki.sourceforge.net/Event+Callbacks

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.