There are several ways, some more and some less hairy...  I'll be very
brief since its off topic.

1. Use Java Native Interface (JNI) to build a class with some native
methods that you code up in C/C++ to talk to COM
2. Use Microsoft's JVM and do it.  Easier than JNI and good if you are
sure your Java code need only run on Win32
3. Using DCOM you can access COM components from the process space of
your JVM by implementing (or using somebody else's) pure Java DCOM class
lib.  The beauty of this one is that in your Java code there's no messy
JNI, its pure Java down to the socket and you can run the Java part on
any platform keeping the dependencies on Win32 stuff as narrow as
possible.

-MGP

"Subramaniam, Senthilkumar (CTS)" wrote:

>
>
>  Hi All,
>
>  Can anyone say how to call COM Components in Java.
>
>  I am new to this field.Even it is a basic ,you guys please help me to
> know the concept.
>
>  Sorry for the inconvenience.
>
>  Thanks in advance
>   Senthil.
begin:vcard
n:Potter;Matt
tel;fax:304-296-7551
tel;work:304-296-7550
x-mozilla-html:TRUE
url:http://www.careflow.com
org:CareFlow|Net, Inc.;Research & Development
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Software Engineer
note:CareFlow|Net, Inc. - http://www.careflow.com - Secure Software Components for Healthcare Enterprises
adr;quoted-printable:;;235 High Street=0D=0ASuite 225;Morgantown;WV;26505-5447;USA
fn:Matt Potter
end:vcard

Reply via email to