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?
Which JDBC driver Types are for use over communications networks?
How many JDBC driver types does Sun define?
Studies of fatal automobile accidents reveal that , in the majority of cases in which one occupant of an automobile is killed another survives, it is the passenger , not the driver , who is killed. It is ironic that the innocent passenger should suffer for the driver's carelessness, while the driver often suffers only minor injuries or none at all. Which of the following is an assumption underlying the reasoning in the passage above?
Which JDBC driver Type(s) can you use in a three-tier architecture and if the Web server and the DBMS are running on the same machine?
What servlet processor was developed by Apache Foundation and Sun?
Which of the following statements is true concerning JDBC?