File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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


seetharama sarma

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
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
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)

---<br />Time flies like an arrow,<br />Fruit flies like a banana
I agree. Here's the link:
subject: COM vs JSP
jQuery in Action, 3rd edition