Lecture 24 Quiz: Servlet Interface & Life Cycle

Note

Review before quiz: Lectures | Week 8 Content | Lab 6 | Home Assignment 3

Lecture 24 Self-Check

Question 1: Which servlet lifecycle method is used for one-time resource setup such as creating a DB connection pool?
Select an item
Question 2: Which scope is shared across all users from server startup to shutdown?
Select an item
Question 3: What is the core servlet container thread model behavior discussed in this lecture?
Select an item
Question 4: Which approach is recommended for thread-safe counting of requests?
Select an item
Question 5: Where should long-lived resources be cleaned up to avoid leaks during shutdown?
Select an item