Database - JDBC, Java Server Pages, and MySQL - Discussion

Discussion Forum : JDBC, Java Server Pages, and MySQL - General Questions (Q.No. 5)
5.
Which JDBC driver Type(s) can be used in either applet or servlet code?
Both Type 1 and Type 2
Both Type 1 and Type 3
Both Type 3 and Type 4
Type 4 only
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
2 comments Page 1 of 1.

Rupesh Raghani said:   1 decade ago
Both Type 3 and Type 4 driver's works on server side rather than client side. So the client of Java application need not bother about where the driver file is or which driver is installed. As these driver can work on Server side, we can make use of these drivers on either Applet application's or Servlet/JSP applications or any distributed applications also.

Manche Shekhar said:   1 decade ago
Only type3 and type drivers can be used in applet or servlet code. Because these two drivers are platform independent drivers. These support runtime environment.

Post your comments here:

Your comments will be displayed after verification.