Which JDBC driver Type(s) can be used in either applet or servlet code?

Which JDBC driver Type(s) can be used in either applet or servlet code? Correct Answer Both Type 3 and Type 4

In a Type 3 driver, a three-tier approach is used to accessing databases. The JDBC clients use standard network sockets to communicate with an middleware application server. In a Type 4 driver, a pure Java-based driver that communicates directly with vendor’s database through socket connection.

Related Questions

Which JDBC driver Type(s) is(are) the JDBC-ODBC bridge?