Database - JDBC, Java Server Pages, and MySQL

Exercise :: JDBC, Java Server Pages, and MySQL - General Questions

11. 

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?

A. Type 1 only
B. Type 2 only
C. Both Type 3 and Type 4
D. All of Type 1, Type 2, Type 3 and Type 4

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.

12. 

What programming language(s) or scripting language(s) does Java Server Pages (JSP) support?

A. VBScript only
B. Jscript only
C. Java only
D. All of the above are supported

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.

13. 

What servlet processor was developed by Apache Foundation and Sun?

A. Apache Tomcat
B. Apache Web server
C. Sun servlet processor
D. None of the above is correct.

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

14. 

What is bytecode?

A. Machine-specific code
B. Java code
C. Machine-independent code
D. None of the above is correct.

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.

15. 

What is invoked via HTTP on the Web server computer when it responds to requests from a user's Web browser?

A. A Java application
B. A Java applet
C. A Java servlet
D. None of the above is correct.

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.