Deck 29: Javaserver Faces Web Apps

Full screen (f)
exit full mode
Question
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.
Use Space or
up arrow
down arrow
to flip the card.
Question
The________ element displays a collection's data in tabular format.

A) h:table.
B) h:collection.
C) h:dataTable.
D) None of the above.
Question
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.
Question
The browser's ________ enables the asynchronous exchanges with the web server that make Ajax applications so responsive.

A) HttpRequestObject.
B) XMLHttpRequest object
C) XMLHttpRequestObject.
D) None of the above.
Question
Which of the following is true?

A) You should maintain a separate database connection for each client request.
B) You should use 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.
Question
The________ annotation allows you to inject a DataSource into a managed bean.

A) @Resource.
B) @DataSource.
C) @DataSourceDefinition.
D) None of the above.
Question
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.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/7
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 29: Javaserver Faces Web Apps
1
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.
execute.
2
The________ element displays a collection's data in tabular format.

A) h:table.
B) h:collection.
C) h:dataTable.
D) None of the above.
h:dataTable.
3
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.
render.
4
The browser's ________ enables the asynchronous exchanges with the web server that make Ajax applications so responsive.

A) HttpRequestObject.
B) XMLHttpRequest object
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 use 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________ annotation allows you to inject a DataSource into a managed bean.

A) @Resource.
B) @DataSource.
C) @DataSourceDefinition.
D) None of the above.
Unlock Deck
Unlock for access to all 7 flashcards in this deck.
Unlock Deck
k this deck
7
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.
Unlock Deck
Unlock for access to all 7 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 7 flashcards in this deck.