30 Java Server Faces Web Applications
30.1 Introduction
No questions.
30.2 HyperText Transfer Protocol (HTTP) Transactions
30.2 Q1: For security reasons, the path in a URL normally represents a(n) ________ on
the server.
a. Actual directory.
b. Virtual directory.
c. File.
d. None of the above.
30.2 Q2: A ________ maintains a database of hostnames and their corresponding IP
addresses.
a. file.
b. database.
c. DNS server.
d. None of the above.
30.3 Multitier Application Architecture
30.3 Q1: The three typical tiers in a web application are ________, ________ and
________.
a. user interface tier, business logic tier, information tier.
b. browser tier, server tier, information tier.
c. client tier, middle tier, top tier.
d. None of the above.
30.4 Your First JSF Web App
30.4 Q1: Which of the following is true?
a. When you invoke a JSF app from a web browser for the first time, the browser
requests the app’s default JSF page.
b. When a web server receives a request for a JSF app, it passes the request to the
JSF web-application framework for processing.
c. The JSF framework includes the Faces servlet—a software component running on
the server that processes each requested JSF page so that the server can eventually
return a response to the client.
d. All of the above.
30.4.1 The Default index.xhtml Document: Introducing Facelets