The Artima Developer Community
Sponsored Link

Java Answers Forum
Java and COM Object

1 reply on 1 page. Most recent reply: Feb 26, 2004 1:17 AM by Matthias Neumair

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Viswanatha Basavalingappa

Posts: 84
Nickname: viswagb
Registered: Nov, 2003

Java and COM Object Posted: Feb 24, 2004 2:32 AM
Reply to this message Reply
Advertisement
HI,

Does anyone know how to call COM from Java, with out coding in C++, or VB?


Matthias Neumair

Posts: 660
Nickname: neumi
Registered: Sep, 2003

Re: Java and COM Object Posted: Feb 26, 2004 1:17 AM
Reply to this message Reply
You CAN use the interface offered by microsoft, but that will only work with JVM, wich has only the possibilities of Java 1.

The other solution is to use a software like jintegra 2.0 offered by Intrasync.
I used this too and it works just great.
It creates Proxy Classes and Interfaces from any COM dll or exe.

You can then access the com objekt as if it was a Java Object.

It has two different ways to use: DCOM on any operating system, NATIVE MODE only for windows platforms (for older com objects).

It's NOT free. 5 licences cost around 500 US-Dollars.



What you can do: write a programm accessing the com server on Java 1 using microsoft's tool, then acess this program from the Java2 program.

Flat View: This topic has 1 reply on 1 page
Topic: PLease help with random numbers Previous Topic   Next Topic Topic: How to set Java HotSpot Server VM for Linux

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use