Deck 5: Web Development With Java Frameworks and Libraries

Full screen (f)
exit full mode
Question
Attribute used to handle web flow requests.

A)servlet-mapping
B)servlet-attr
C)servlet-flow
D)servlet-requests
Use Space or
up arrow
down arrow
to flip the card.
Question
To resolve Facelets views we configure:

A)ViewFacelets
B)ViewResolver
C)View-resolver
D)View_Resolver
Question
File extension of a view state's name which is by default loaded by facelet page.

A).xml
B).hbm.xml
C).xhtml
D)none of the mentioned
Question
Navigation in traditional JSF applications is handled by:

A)linking directly linking to a resource
B)commandLink
C)invoking an action
D)all of the mentioned
Question
For cross field validation or some sort of barrier to ensure state before you start a flow, we use.

A)FacesContext
B)FaceletContext
C)FacesResolver
D)All of the mentioned
Question
Component which additionally provides a pop-up date picker control for its enclosed input field.

A)clientDateValidator
B)clientValidator
C)dateValidator
D)validator
Question
Component which encloses command button.

A)validateAll
B)validateAllClick
C)validateAllInClick
D)validateAllOnClick
Question
Which of the following is not a core interface of Hibernate?

A)Configuration
B)Criteria
C)SessionManagement
D)Session
Question
Which of the following is not a core component of Hibernate?

A)JDBC
B)SessionFactory
C)Session
D)Configuration
Question
Is Session a thread-safe object?
Question
SessionFactory is a thread-safe object.
Question
Which of the following methods returns proxy object?

A)loadDatabase()
B)getDatabase()
C)load()
D)get()
Question
Which of the following methods hits database always?

A)load()
B)loadDatabase()
C)getDatabase()
D)get()
Question
Which of the following method is used inside session only?

A)merge()
B)update()
C)end()
D)kill()
Question
The SessionFactory is heavyweight object.

A)False
B)True
C)none
D)all
Question
Which of the following is not a state of object in Hibernate?

A)Attached()
B)Detached()
C)Persistent()
D)Transient()
Question
Which of the following is true about HQL?

A)HQL takes java objects in the same way as SQL takes tables.
B)HQL is a Object Oriented Query language
C)HQL is database independent.
D)All of the above.
Question
Which of the following is not an inheritance mapping strategies?

A)Table per hierarchy
B)Table per concrete class
C)Table per subclass
D)Table per class
Question
Which of the following is not an advantage of using Hibernate Query Language?

A)Database independent
B)Easy to write query
C)No need to learn SQL
D)Difficult to implement
Question
In which file database table configuration is stored?

A).dbm
B).hbm
C).ora
D).sql
Question
Which of the following is not an advantage of Hibernate Criteria API?

A)Allows to use aggregate functions
B)Cannot order the result set
C)Allows to fetch only selected columns of result
D)Can add conditions while fetching results
Question
What is the basic concept of Spring?

A)Factory pattern
B)Singleton pattern
C)Dependency injection or Inversion of control
D)Abstract factory pattern
Question
Which spring module provides the capability of DI or IOC?

A)Spring web
B)Core container
C)AOP
D)Data access
Question
What are beans in the concept of Spring or what are spring beans?

A)Controller classes
B)Service classes
C)Repository
D)Any class that is managed by the container.
Question
How does spring achieve DI or IOC?

A)Service locator pattern
B)Factory pattern
C)Abstract factory pattern
D)Singleton pattern
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/25
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 5: Web Development With Java Frameworks and Libraries
1
Attribute used to handle web flow requests.

A)servlet-mapping
B)servlet-attr
C)servlet-flow
D)servlet-requests
servlet-mapping
2
To resolve Facelets views we configure:

A)ViewFacelets
B)ViewResolver
C)View-resolver
D)View_Resolver
ViewResolver
3
File extension of a view state's name which is by default loaded by facelet page.

A).xml
B).hbm.xml
C).xhtml
D)none of the mentioned
.xhtml
4
Navigation in traditional JSF applications is handled by:

A)linking directly linking to a resource
B)commandLink
C)invoking an action
D)all of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
5
For cross field validation or some sort of barrier to ensure state before you start a flow, we use.

A)FacesContext
B)FaceletContext
C)FacesResolver
D)All of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
6
Component which additionally provides a pop-up date picker control for its enclosed input field.

A)clientDateValidator
B)clientValidator
C)dateValidator
D)validator
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
7
Component which encloses command button.

A)validateAll
B)validateAllClick
C)validateAllInClick
D)validateAllOnClick
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
8
Which of the following is not a core interface of Hibernate?

A)Configuration
B)Criteria
C)SessionManagement
D)Session
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
9
Which of the following is not a core component of Hibernate?

A)JDBC
B)SessionFactory
C)Session
D)Configuration
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
10
Is Session a thread-safe object?
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
11
SessionFactory is a thread-safe object.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
12
Which of the following methods returns proxy object?

A)loadDatabase()
B)getDatabase()
C)load()
D)get()
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
13
Which of the following methods hits database always?

A)load()
B)loadDatabase()
C)getDatabase()
D)get()
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
14
Which of the following method is used inside session only?

A)merge()
B)update()
C)end()
D)kill()
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
15
The SessionFactory is heavyweight object.

A)False
B)True
C)none
D)all
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
16
Which of the following is not a state of object in Hibernate?

A)Attached()
B)Detached()
C)Persistent()
D)Transient()
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
17
Which of the following is true about HQL?

A)HQL takes java objects in the same way as SQL takes tables.
B)HQL is a Object Oriented Query language
C)HQL is database independent.
D)All of the above.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
18
Which of the following is not an inheritance mapping strategies?

A)Table per hierarchy
B)Table per concrete class
C)Table per subclass
D)Table per class
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
19
Which of the following is not an advantage of using Hibernate Query Language?

A)Database independent
B)Easy to write query
C)No need to learn SQL
D)Difficult to implement
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
20
In which file database table configuration is stored?

A).dbm
B).hbm
C).ora
D).sql
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
21
Which of the following is not an advantage of Hibernate Criteria API?

A)Allows to use aggregate functions
B)Cannot order the result set
C)Allows to fetch only selected columns of result
D)Can add conditions while fetching results
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
22
What is the basic concept of Spring?

A)Factory pattern
B)Singleton pattern
C)Dependency injection or Inversion of control
D)Abstract factory pattern
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
23
Which spring module provides the capability of DI or IOC?

A)Spring web
B)Core container
C)AOP
D)Data access
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
24
What are beans in the concept of Spring or what are spring beans?

A)Controller classes
B)Service classes
C)Repository
D)Any class that is managed by the container.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
25
How does spring achieve DI or IOC?

A)Service locator pattern
B)Factory pattern
C)Abstract factory pattern
D)Singleton pattern
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 25 flashcards in this deck.