quiz Computer Science · 21 questions

J2EE Architecture and JDBC Fundamentals

help_outline 21 questions
timer ~11 min
auto_awesome AI-generated
0 / 21
Score : 0%
1

Which tier in a three‑tier architecture is responsible for implementing business rules and processing data?

2

When choosing a JDBC driver for maximum portability across databases, which driver type is preferred?

3

A web application needs to protect against SQL injection. Which JDBC statement type should be used?

4

Which J2EE component is primarily responsible for handling HTTP requests and generating dynamic web pages?

5

An enterprise system must support both synchronous and asynchronous messaging. Which API provides this capability?

6

In a JDBC workflow, which method should be called to retrieve rows from a SELECT query?

7

Which layer of a multi‑tier application is directly responsible for persisting data to a database?

8

A developer wants to call a stored procedure from Java. Which JDBC interface should be used?

9

Which J2EE platform is specifically targeted at mobile and embedded devices?

10

Which of the following best describes the main advantage of N‑Tier architecture over Two‑Tier architecture?

11

Which JNDI purpose aligns with its name?

12

Which JDBC driver type relies on an external ODBC driver to communicate with the database?

13

In the CRUD acronym, which SQL command corresponds to the 'Update' operation?

14

Which component acts as the runtime environment that manages EJB lifecycle and services?

15

Which Java package must be imported to use JDBC classes such as Connection and Statement?

16

Which J2EE technology enables embedding Java code directly within HTML pages?

17

Which API is used to send email messages from a Java application?

18

Which statement correctly describes the relationship between a DriverManager and a Connection in JDBC?

19

Which tier of a client‑server system contains the business rules and data validation logic?

20

Which of the following is NOT a benefit typically associated with N‑Tier architecture?

21

Which server is primarily known for implementing the Servlet and JSP specifications?

Stop highlighting.
Start learning.

Join students who have already generated over 50,000 quizzes on Quizly. It's free to get started.