Spring MCQ Quiz Hub

Spring Mcq Set 5

Choose a topic to test your knowledge and improve your Spring skills

Spring manages UI as flows.





✅ Correct Answer: 1

Stated related to Spring Web flows.





✅ Correct Answer: 4

Once a state has completed its tasks, it fires an event.





✅ Correct Answer: 1

Required dependencies to manage web UI flows.





✅ Correct Answer: 2

Spring Web flow supports.





✅ Correct Answer: 3

Spring Web flow can enable both Unified EL and Object-Graph Navigation Language (OGNL).





✅ Correct Answer: 2

To create URL path mappings from the ids of registered flow definitions.





✅ Correct Answer: 1

XML Based flow definitions can be validated by:-





✅ Correct Answer: 4

Element to trigger an action for view module.





✅ Correct Answer: 1

Variable to trigger the flow execution.





✅ Correct Answer: 1

.Servers which listen on port 8080.





✅ Correct Answer: 4

Interface which is used to persist instances sessions.





✅ Correct Answer: 1

Class which assist Spring Web flow in handling form.





✅ Correct Answer: 2

Property for action to instantiate form objects.





✅ Correct Answer: 1

Element which secures web flows.





✅ Correct Answer: 1

To secure web flows with Spring Security.





✅ Correct Answer: 2

Group id to add spring security using Maven.





✅ Correct Answer: 2

auto-config provides only default form-based login service.





✅ Correct Answer: 2

To enable Spring security for web flows.





✅ Correct Answer: 1

Which of the following class should replace ‘?’. <beans ...> ... <webflow:flow-executor id="flowExecutor"> <webflow:flow-execution-listeners> <webflow:listener ref="securityFlowExecutionListener" /> </webflow:flow-execution-listeners> </webflow:flow-executor> <bean id="securityFlowExecutionListener" class="?" /> </beans>





✅ Correct Answer: 3

Which attribute is used to access security element of web flow.





✅ Correct Answer: 3

Spring web flow supports integration with.





✅ Correct Answer: 4

To integrate JPA with Spring Web flows.





✅ Correct Answer: 1

To integrate Hibernate with Spring Web flows.





✅ Correct Answer: 2

HibernateFlowExecutionListener and JpaFlowExecutionListener both belongs to which of the package.





✅ Correct Answer: 4

JpaFlowExecutionListener and Hibernate Listener binds to flow scope.





✅ Correct Answer: 1

Libraries used to integrate Hibernate with JPA.





✅ Correct Answer: 4

To configure JPA vendor-specific information.





✅ Correct Answer: 3

You have to register a flow execution listener in the flow executor.





✅ Correct Answer: 1

View Technologies to render Spring Web MVC view.





✅ Correct Answer: 3

Submodules of Spring Web Flow to simplify use of JSF and javascript in Spring.





✅ Correct Answer: 4

Spring Faces provides a set of client-side validation components for standard JSF input components.





✅ Correct Answer: 1

To use JSF Validation components provided by spring faces.





✅ Correct Answer: 3

Attribute used to handle web flow requests.





✅ Correct Answer: 1

JSF view handler to enable Facelets and a SpringBeanFacesELResolver to access Spring beans.





✅ Correct Answer: 1

To resolve Facelets views we configure:-





✅ Correct Answer: 2

File extension of a view state’s name which is by default loaded by facelet page.





✅ Correct Answer: 3

Navigation in traditional JSF applications is handled by:-





✅ Correct Answer: 4

For cross field validation or some sort of barrier to ensure state before you start a flow, we use.





✅ Correct Answer: 1

To use Spring Faces Components, we register which of the following?





✅ Correct Answer: 2

Resources retrieved by Spring Faces Component.





✅ Correct Answer: 3

Component which additionally provides a pop-up date picker control for its enclosed input field.





✅ Correct Answer: 1

Component which encloses command button.





✅ Correct Answer: 3

Libraries provided by RichFaces an integration support for Spring web flow.





✅ Correct Answer: 1

Design pattern implemented by Dispatcher Servlet.





✅ Correct Answer: 3

Class used to give a class behavior of a Dispatcher Servlet.





✅ Correct Answer: 1

Annotation for Controller Class.





✅ Correct Answer: 2

Handler method annotation.





✅ Correct Answer: 4

Method arguments that can be used in handler methods using the @RequestMapping annotation.





✅ Correct Answer: 4

Annotation which represents cookie values of requests.





✅ Correct Answer: 4