Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

COM vs JSP

 
seetharama sarma
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic