A few questions about connectting to Databse through JDBC:
1) each time when browser activate an ASP page (inside the ASP, there is
Database connection)
Does ASP Engine connect to database again?
2)how do i implement the following function.
Login Database and GetConnection once for all JSP page and all
different Clients ?
Thank you very much for your answer!
-George
Ward Mike wrote:
> I've just been handed a bunch of ASP code along with some ActiveX objects.
> Since our company has a long standing policy of NO MS outside the firewall I am
>faced with a dilema.
>
> The general consensus here is that we should re-write these ASP pages into JSP. I
>don't think that will be too hard. The hard part is this:
>
> How do I convert the ActiveX objects (written originally in C++) into Java Beans
>short of completely re-writing the code in Java.
>
> The problem is that this particular ActiveX object is used to generate a very
>specific key that unlocks some software we are hoping to ship soon. The number that
>it generates needs to be exactly the right number or the software won't unlock. I'm
>worried that if I re-write this stuff in Java it may not generate the same number.
>
> I haven't dug too deep into the process that the ActiveX Object uses to generate the
>number and I'm hoping I won't have to.
>
> Is there anyway to "wrap" the ActiveX object somehow so I can serve it up like a
>bean?
> Or is there any sort of automated converter that would change it for me?
>
> Please help with ideas. I'm afraid I'm going to have to re-write this stuff in Java
>which wouldn't be too hard except that means I have to try understand the ActiveX
>object and all of its accompanying .h files and .cpp files and on and on.
>
> Any help at all would be greatly appreciated. Thanks in advance.
>
> -- Mike Ward
> [EMAIL PROTECTED]
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html