Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

how to call COM in JAVA

  Asked By: Cesar    Date: Sep 17    Category: Java    Views: 1219

Can u pls tellme how to call a COM Object in a JAVA program. If u
have any sample program or web. site ref.



2 Answers Found

Answer #1    Answered By: Maurice Hanson     Answered On: Sep 17

There is a project called JACOB which allows you to call  COM from
Java. The main website is http://danadler.com/jacob/ . There isn't
much documentation on it just some examples from what I've found.
There's a yahoo group called jacob-project that may be helpful. I've
used Jacob to do some pretty neat things in MS Word from Java, it's a
pretty nice tool.

Answer #2    Answered By: Bellona Lopez     Answered On: Sep 17

Myself, I would use JNI, and write my own C++ and Makefiles and
everything, and call  COM from there, but there's also:

which leads to

Another option is simply not to call com  at all, and implement it all
in Java.

Didn't find what you were looking for? Find more on how to call COM in JAVA Or get search suggestion and latest updates.