check out Bridge2Java from http://alphaworks.ibm.com

-----Original Message-----
From: Mark Phelps [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 01, 2001 12:56 PM
To: JRun-Talk
Subject: RE: Can you talk to a COM object with JRUN-JSP?


Sun has written a piece of software called the COM bridge which makes it
easy for a Visual Basic or Visual C++ program to create and manipulate Java
objects.  I'm not sure if it provides a method for a Java process to talk to
COM objects or not.  I would start my search by looking at the COM bridge.
See www.javasoft.com .

You can always use JNI to make calls to native code.  Your Java objects
could make JNI calls to a small native code library which could then
communicate with your COM objects.

Another way would be to communicate with network sockets.  The Java object
can open a network socket to a piece of native code which would communicate
with the COM objects.  You can establish your own protocol for communication
between the two sides.

A more formal variation of the socket method is to use an established
protocol such as SOAP.  The idea behind SOAP is that one object, (of any
language), sends an HTTP message to another object, (of any language), with
an embedded request in a formal XML syntax.  The receiving object acts on
the request and then passes back a response, again in a formal XML syntax.
Sun's web site probably has information on SOAP.  I know that
www.microsoft.com has information as well.

-----Original Message-----
From: Bill Rogers [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 30, 2001 1:52 AM
To: JRun-Talk
Subject: Can you talk to a COM object with JRUN-JSP?


Can you talk to a COM object with JRUN-JSP?

  In ColdFusion I can talk to a COM object on a NT server by using:
  CFOBJECT.  The CFOBJECT tag allows you to call methods in COM

  Is there something similar for JSP in JRUN?  I have an application
  that is written using COM objects.  Today both MS-ASP and
ColdFusion
  access the COM objects.    The COM object contains the Business
  logic.

  Bill Rogers
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to