Solved

JAVA - COM/DCOM communication

Posted on 2001-07-03
4
489 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

786 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