Multiple choice

Which JDBC driver Types are for use over communications networks?

  1. Type 3 only

  2. Type 4 only

  3. Both Type 3 and Type 4

  4. Neither Type 3 nor Type 4

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Type 3 and Type 4 JDBC drivers are specifically designed for network communication. Type 3 drivers use a three-tier architecture where calls are translated to an intermediate middleware protocol, while Type 4 drivers are pure Java implementations that communicate directly with the database over the network using the database's native protocol.