It's not a secret anymore!
The moose likes Java in General and the fly likes Consuming COM Components Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Consuming COM Components" Watch "Consuming COM Components" New topic

Consuming COM Components

jay akhawri
Ranch Hand

Joined: Nov 28, 2004
Posts: 47
Hi Everybody,

I guess my question is really "How to consume the COM components". I am confident that IDL will bail it out.

Perhaps, if you can suggest me how?

- Jay
Henry Wong

Joined: Sep 28, 2004
Posts: 20359

Not sure what you mean by "consuming", but there are quite a few libraries that allow Java to access COM components. Some of them are even Open Sourced. Just google "Java COM bridge", for a detailed list.


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
jay akhawri
Ranch Hand

Joined: Nov 28, 2004
Posts: 47
Appriciate your response.

And there are many!!!

- Jay
Lokesh Pahadi

Joined: Jan 09, 2005
Posts: 21
Hello Guys,

I am new to this suject of Java/COM interaction.
I searched net and found com4j at

Although I am able to access COM object from within my Java program.
But I am having inconsitent behaviour in listening to the COM events within my Java application.

If anyoen has worked on this rea before, please throw some light on it.
I need my Java application to listen to ther COM events.

Thanks in advance!!!
I agree. Here's the link:
subject: Consuming COM Components
jQuery in Action, 3rd edition