?
Solved

JAVA - COM/DCOM communication

Posted on 2001-07-03
4
Medium Priority
?
518 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 150 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
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 …
This video teaches viewers about errors in exception handling.
Suggested Courses
Course of the Month13 days, 1 hour left to enroll

777 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