This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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
subject: COM vs JSP
It's not a secret anymore!