Deck 28: Javaserver Faces Web Apps
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/15
Play
Full screen (f)
Deck 28: Javaserver Faces Web Apps
1
A cookie is ________.
A) something you eat.
B) a piece of data that maintains information about a client during and possibly between browser sessions.
C) a piece of data that maintains information about all the servers that a client visits.
D) None of the above.
A) something you eat.
B) a piece of data that maintains information about a client during and possibly between browser sessions.
C) a piece of data that maintains information about all the servers that a client visits.
D) None of the above.
a piece of data that maintains information about a client during and possibly between browser sessions.
2
________ architecture separates application's from the graphical presentation and the processing logic.
A) Data-Presentation-Logic.
B) Data-View-Controller.
C) Model-View-Controller.
D) None of the above.
A) Data-Presentation-Logic.
B) Data-View-Controller.
C) Model-View-Controller.
D) None of the above.
C
3
________ are instances of classes that follow certain conventions for class design.
A) Properties.
B) JavaBeans objects.
C) JSF elements.
D) None of the above.
A) Properties.
B) JavaBeans objects.
C) JSF elements.
D) None of the above.
B
4
Which of the following is true?
A) An @RequestScoped bean can be access by all of an app's pages during a session.
B) Sessions never expire.
C) An @SessionScoped is created when a session begins and exists throughout the entire session.
D) None of the above.
A) An @RequestScoped bean can be access by all of an app's pages during a session.
B) Sessions never expire.
C) An @SessionScoped is created when a session begins and exists throughout the entire session.
D) None of the above.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
5
Tracking individual clients as they visit a website is known as ________.
A) session tracking.
B) client tracking.
C) personalization.
D) None of the above.
A) session tracking.
B) client tracking.
C) personalization.
D) None of the above.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
6
A ________ determines whether a field contains an acceptable number of characters.
A) f:validateDoubleRange.
B) f:validateLength.
C) f:validateLongRange.
D) None of the above.
A) f:validateDoubleRange.
B) f:validateLength.
C) f:validateLongRange.
D) None of the above.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
7
Which of the following is true?
A) An app's images and CSS files can be placed in any folder of the app.
B) An app's images and CSS files are placed in the app's resources folder within the Web Pages node.
C) An app's images and CSS files are placed in the subfolders of the app's resources folder within the Web Pages node.
D) None of the above.
A) An app's images and CSS files can be placed in any folder of the app.
B) An app's images and CSS files are placed in the app's resources folder within the Web Pages node.
C) An app's images and CSS files are placed in the subfolders of the app's resources folder within the Web Pages node.
D) None of the above.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
8
A JavaBean exposes its data to a JSF document as ________.
A) Properties.
B) JavaBeans objects.
C) JSF elements.
D) None of the above.
A) Properties.
B) JavaBeans objects.
C) JSF elements.
D) None of the above.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
9
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.
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.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
10
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.
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.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
11
Which of the following is true?
A) Facelets are a combination of XHTML markup and JSF markup.
B) XHTML combines a page's content with its presentation.
C) You cannot dynamically insert values into a Facelets page.
D) None of the above.
A) Facelets are a combination of XHTML markup and JSF markup.
B) XHTML combines a page's content with its presentation.
C) You cannot dynamically insert values into a Facelets page.
D) None of the above.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
12
A ________ maintains a database of hostnames and their corresponding IP addresses.
A) file.
B) database.
C) DNS server.
D) None of the above.
A) file.
B) database.
C) DNS server.
D) None of the above.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
13
A(n) ________ arranges elements in an XTHML table containing rows with a specified number of columns.
A) h:panelGrid.
B) h:table.
C) h:grid.
D) None of the above.
A) h:panelGrid.
B) h:table.
C) h:grid.
D) None of the above.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
14
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.
A) Actual directory.
B) Virtual directory.
C) File.
D) None of the above.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck
15
A ________ determines whether a field contains an integer value in an acceptable range.
A) f:validateDoubleRange.
B) f:validateLength.
C) f:validateLongRange.
D) None of the above.
A) f:validateDoubleRange.
B) f:validateLength.
C) f:validateLongRange.
D) None of the above.
Unlock Deck
Unlock for access to all 15 flashcards in this deck.
Unlock Deck
k this deck