This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JSP and the fly likes COM vs JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "COM vs JSP" Watch "COM vs JSP" New topic
Author

COM vs JSP

seetharama sarma
Greenhorn

Joined: Oct 23, 2002
Posts: 5
Dear all,
I am having One COM object developed in VB , which can give me some data. Please let me know how my JSP page can send the request to COM object and How I can get the result.
I am using Apache tomcat 4.2. To use COM in java , Is it that i have to use Web logic server.

Thanks in advance
-sarma
Jesse Beaumont
Ranch Hand

Joined: May 30, 2002
Posts: 43
Three solution spring to mind off the top of my head:
1. Use JNI to write a windows native wrapper around the COM object and call that from java
2. Use a Java-COM bridge (e.g. J-Integra http://www.linar.com/)
3. Expose the COM object as a web service or equivalent (e.g. wrap it in an asp and call the asp from java and parse the response, or something like that)
Jesse


---<br />Time flies like an arrow,<br />Fruit flies like a banana
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: COM vs JSP