Ahmad,

You can use OCX components in Java and JSP, but it is not easy and not
recommended.  MS uses the registry to find a control that is called from
within VC++ or VB, Java does not use or understand the concept of a
registry.  I have a book that explains how to incorporate Active X
components into Java/JSP products, but I don't have it in the office here
with me, so I will try and remember to bring it tomorrow.  But if my memory
serves me correctly, you have to write a Java wrapper around the controls
dll source code, and then you write a Java "calling class" to the control.
This requires you to have the source code, so you can't use the MS built in
controls that come with VC++ or VB.  You can only do this with your own
Active X dll source code.  It is NOT recommended (by the book) to try and do
this with VB created controls, only with VC++ created controls.  The book
also recommends NOT trying to incorporate "Java wrapped Active X controls"
on non-Windows platforms.

Just as an aside note, I did work a project with another developer (25 yr
veteran) who claims to have successfully incorporated a VC++ control into a
JSP page on a Unix box, using Apache and Tomcat.  Apparently the control was
custom made for the client in VC++, and when the company was purchased, the
new owner requested that the site be ported over to Unix/Java/JSP, but did
not want to pay for redeveloping the functionality of the custom control.
But I never saw the ported product in action, so I don't know if the guy was
pulling my leg, or if his statement was "for real".  Anyone else out there
have any experience using Active X controls within Java/JSP?

I will try and remember to bring that book in with me Wed and post a message
regarding where you can find this info.

Celeste

-----Original Message-----
From: Ahmad Ali Faraazi [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 03, 2001 6:27 AM
To: [EMAIL PROTECTED]
Subject: Use OCX in JSP?


Dear All,

Is any body knows how can we use OCX component  in JSP / JAVA?
Thanks in advance

Regards
Ahmad Faraazi

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to