Solved

JAVA - COM/DCOM communication

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Understanding websocket example in spring 1 57
topping2 challenge 13 83
Securing Jmx Console and web console 2 65
servlet  URL Rewriting 1 27
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 how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now