Solved

JAVA - COM/DCOM communication

Posted on 2001-07-03
4
503 Views
Last Modified: 2012-06-22
Hi Guys,

I am interested in data invoking COM (or COM+) objects from JAVA (or EJB) objects and vice versa.

Has anybody worked on this scenario? Could you please give me some links?
0
Comment
Question by:tendlya
  • 2
4 Comments
 
LVL 6

Expert Comment

by:jpk041897
ID: 6249426
Which JDK ate you using?

Microsofts Visual J++ could handle COM but its no longer sold or supported.

Sun is working on a COM lib but its still in the Beta stages.

If neither of these solutions is appropiate/acceptable then you wil have to go via JNI.
0
 
LVL 3

Accepted Solution

by:
dnoelpp earned 50 total points
ID: 6251353
There are some products around. My link list is at the office (I post from home), but I know some products and their links by heart.

JIntegra (they use DCOM and even works 100% pure Java, because Java talks DCOM directly, but you can use a native library, if you like. Very good, but expensive.) www.linar.com

R-JAX (a Windows server and a runtime to access the COM objects on the windows server). www.halyconsoft.com

Java2Com (a small and free library, but not as easy as say JIntegra). www.nevaobjects.com

I managed to automate Excel from Java. This is very complicated, but possible. The problems: 1. You need a product. 2. You should be very proficient in Java. 3. You should be proficient in the COM object hierarchy (like Excel which has a very big hierarchy). This is a lot to know for a single man.

Good luck and CHEERS!
0
 
LVL 1

Author Comment

by:tendlya
ID: 6259476
dnoelpp,

the links were really helpful. Thanks. I really appreciate this.
0
 
LVL 1

Author Comment

by:tendlya
ID: 6259481
Thanks, I really appreciate it.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
hibernate insert example 13 37
Configure a Bean in an XML file 4 48
by zero exception 10 69
Java 8 to Java 6 8 32
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question