Q&A

Q1:Can the JDBC-ODBC bridge driver be used in an applet?
A1: The default security in place for applets does not allow the JDBC-ODBC bridge to be used because the ODBC side of the bridge driver employs native code rather than Java. Native code can't be held to the security restrictions in place for Java, so there's no way to ensure that this code is secure.

JDBC drivers that are implemented entirely in Java can be used in applets, and they have the advantage of requiring no configuration on the client computer.

Q2:What is the importance of using a hash table?
A2: Calculating a hash code for a complex piece of data is important because you can lessen the overhead involved in searching for the data. The hash code enables you to home in on ...

Get Sams Teach Yourself Java 2 in 21 Days, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.