Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I use Toolbox JDBC in a Netscape applet (without a JDK 1.2 or 1.3 plugin)?

0
Posted

How do I use Toolbox JDBC in a Netscape applet (without a JDK 1.2 or 1.3 plugin)?

0

• Include the JDBC 2.0 classes in the applet’s classpath. Why? Because Netscape’s class verifier is overly strict and tries to verify the existence of all referenced classes, even ones that the user’s application never uses. It is enough that they are in the Toolbox jar file. Since the Toolbox supports JDBC 2.0, and the 2.0 classes are referenced in the Toolbox, but are not available in the applet’s 1.1.x JVM, then the verifier throws an error. We ship stubs for the JDBC 2.0 classes in jtStubs.jar, which is available off of the JTOpen web site. Or, the developer can hardcode their own if they wish. Using this jtStubs.jar will trick the Netscape class verifier into thinking that the JDBC 2.0 classes are indeed available. Here’s a direct link to the stubs: http://jt400.sourceforge.net/jtStubs.jar (link resides outside of ibm.com) • Even though we have satisfied the verifier by putting stubs for the missing JDBC 2.0 classes in our CLASSPATH, we now run into a Netscape security issue. The

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123