Deck 27: Javaserver Faces Web Apps: Part 2
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/7
Play
Full screen (f)
Deck 27: Javaserver Faces Web Apps: Part 2
1
The ________ annotation allows you to inject a DataSource into a managed bean.
A) @Resource.
B) @DataSource.
C) @Database.
D) None of the above.
A) @Resource.
B) @DataSource.
C) @Database.
D) None of the above.
A
2
Ajax separates the user interaction portion of an application from its server interaction, enabling both to proceed ________.
A) synchronously.
B) asynchronously in parallel.
C) without any interaction whatsoever.
D) None of the above.
A) synchronously.
B) asynchronously in parallel.
C) without any interaction whatsoever.
D) None of the above.
B
3
The ________ element displays a collection's data in tabular format.
A) h:table.
B) h:collection.
C) h:dataTable.
D) None of the above.
A) h:table.
B) h:collection.
C) h:dataTable.
D) None of the above.
C
4
The ________ enables the asynchronous exchanges with the web server that make Ajax applications so responsive.
A) HttpRequestObject.
B) XMLHttpRequest.
C) XMLHttpRequestObject.
D) None of the above.
A) HttpRequestObject.
B) XMLHttpRequest.
C) XMLHttpRequestObject.
D) None of the above.
Unlock Deck
Unlock for access to all 7 flashcards in this deck.
Unlock Deck
k this deck
5
Which of the following is true
A) You should maintain a separate database connection for each client request.
B) You should maintain a connection pool that allows the server to manage a limited number of database connections and share them among requests.
C) You should never connect to databases from web apps.
D) None of the above.
A) You should maintain a separate database connection for each client request.
B) You should maintain a connection pool that allows the server to manage a limited number of database connections and share them among requests.
C) You should never connect to databases from web apps.
D) None of the above.
Unlock Deck
Unlock for access to all 7 flashcards in this deck.
Unlock Deck
k this deck
6
The f:ajax element's ________ attribute specifies a space-separated list of element ids-the values of these elements are submitted as part of the Ajax request.
A) execute.
B) render.
C) send.
D) display.
A) execute.
B) render.
C) send.
D) display.
Unlock Deck
Unlock for access to all 7 flashcards in this deck.
Unlock Deck
k this deck
7
The f:ajax element's ________ attribute specifies a space-separated list of element ids for the elements that should be updated via partial page updates.
A) execute.
B) render.
C) send.
D) display.
A) execute.
B) render.
C) send.
D) display.
Unlock Deck
Unlock for access to all 7 flashcards in this deck.
Unlock Deck
k this deck