Skip to Content
author's profile photo Former Member
Former Member

Accessing Windows COM-Objects from UNIX-Netweaver Java-Server?

Hello,

i have a difficult problem. Does anybody give me a hint how to access a com-object on a windows server (Windows 2003 Server, 32 Bit) from a Java-Bean on my Netweaver CE 7.1 Server running on Unix (64 Bit)?

When running NW CE 7.1 on a Windows 32-Bit Server (Developer Edition) i could use the COM4J Java-Bridge for locally accessing the com-object.

There is no real workaround for the com-object and the problem is real critical because the com-object access a tool which converts cad-drawings into order positions.

Any hints or tipps are welcome

regards

Matthias

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 11, 2008 at 10:33 AM

    Hi,

    Do you have corba support for this com object?

    Regards

    Ayyapparaj

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello,

      i spoke to the developers. The COM-Object was developed with C#. The object itselfs realizes access to the application we need to call. As the developers say it has NO corba support.

      regards

      Matthias

  • author's profile photo Former Member
    Former Member
    Posted on Jan 16, 2009 at 08:47 AM

    Hello.

    Found solution myself.

    Used Java-Com-Bridge on the Server who hosts the com-object. And for communication between my Netweaver-Server (Unix) from an EJB to the Windows-Server with the com-object i used java-RMI. So the NW-EJB uses an RMI-Client to connect to the Windows-Server, which implemented an Class which is exported to RMI and which uses the java-com-bridge to use the com-object.

    works fine so far. com-bridge used is com4j

    regards

    matthias

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.