Spring/Spring Mcq Set 5 Sample Test,Sample questions

Question:
 Annotation which represents cookie values of requests.

1. HttpServletRequest or HttpServleResponse

2.@RequestParam

3.@Cookie

4.None of the mentioned

Posted Date:-2022-01-03 00:49:53


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

1.FacesContext

2. FaceletContext

3.FacesResolver

4.all of the mentioned

Posted Date:-2022-01-03 00:44:23


Question:
 JpaFlowExecutionListener and Hibernate Listener binds to flow scope.

1.True

2.False

3.error

4.None of these

Posted Date:-2022-01-03 00:39:30


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

1. FaceletViewHandler

2.FaceletView

3. FaceletHandler

4.none of the mentioned

Posted Date:-2022-01-03 00:42:49


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

1.RichFaces

2.Slf-4j

3.Log-4j

4.All of the mentioned

Posted Date:-2022-01-03 00:47:10


Question:
 Navigation in traditional JSF applications is handled by:-

1. linking directly linking to a resource

2.commandLink

3. invoking an action

4. All of the mentioned

Posted Date:-2022-01-03 00:43:58


Question:
 Property for action to instantiate form objects.

1.formObjectClass

2.formClass

3. objectClass

4.none of the mentioned

Posted Date:-2022-01-03 00:30:03


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

1. Spring Faces

2.Spring Javascript

3.None of the mentioned

4. All of the mentioned

Posted Date:-2022-01-03 00:41:24


Question:
 To integrate Hibernate with Spring Web flows.

1. JpaFlowExecutionListener

2.HibernateFlowExecutionListener

3.All of the mentioned

4.None of the mentioned

Posted Date:-2022-01-03 00:34:21


Question:
 To integrate JPA with Spring Web flows.

1. JpaFlowExecutionListener

2. HibernateFlowExecutionListener

3.All of the mentioned

4. None of the mentioned

Posted Date:-2022-01-03 00:33:59


Question:
 To resolve Facelets views we configure:-

1.ViewFacelets

2.ViewResolver

3.View-resolver

4.View_Resolver

Posted Date:-2022-01-03 00:43:09


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

1. Servlet API

2.ResourceServlet

3.All of the mentioned

4.None of the mentioned

Posted Date:-2022-01-03 00:45:06


Question:
 View Technologies to render Spring Web MVC view.

1.JSP

2.Tiles

3.All of the mentioned

4.none of the mentioned

Posted Date:-2022-01-03 00:41:02


Question:
.Servers which listen on port 8080.

1. Apache Tomcat 6.0

2. Jetty

3.None of the mentioned

4.all of the mentioned

Posted Date:-2022-01-03 00:28:54


Question:
Annotation for Controller Class.

1.@Before

2.@Controller

3.@After

4.@Exception

Posted Date:-2022-01-03 00:48:42


Question:
Attribute used to handle web flow requests.

1. servlet-mapping

2. servlet-attr

3.servlet-flow

4. servlet-requests

Posted Date:-2022-01-03 00:42:26


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

1. True

2.False

3.error

4.None of these

Posted Date:-2022-01-03 00:31:44


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

1. AbstractController

2. Controller

3.Abstract Class

4.AbstractAction

Posted Date:-2022-01-03 00:48:19


Question:
Class which assist Spring Web flow in handling form.

1.Form

2. FormAction

3. FormHandler

4.Form-Handler

Posted Date:-2022-01-03 00:29:39


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

1. clientDateValidator

2.clientValidator

3.dateValidator

4.validator

Posted Date:-2022-01-03 00:46:24


Question:
Component which encloses command button.

1. validateAll

2.validateAllClick

3.validateAllInClick

4. validateAllOnClick

Posted Date:-2022-01-03 00:46:48


Question:
Design pattern implemented by Dispatcher Servlet.

1. jsp

2.tiles

3. front controller

4. none of the mentioned

Posted Date:-2022-01-03 00:47:56


Question:
Element to trigger an action for view module.

1.on-render

2. on-action

3.on-trigger

4. None of the mentioned

Posted Date:-2022-01-03 00:28:01


Question:
Element which secures web flows.

1.secured

2. security

3. sec

4.none of the mentioned

Posted Date:-2022-01-03 00:30:36


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

1. .xml

2..hbm.xml

3..xhtml

4.none of the mentioned

Posted Date:-2022-01-03 00:43:35


Question:
Group id to add spring security using Maven.

1. org.springframework.secure

2.org.springframework.security

3. org.springframework.securedflow

4.none of the mentioned

Posted Date:-2022-01-03 00:31:25


Question:
Handler method annotation.

1.@Before

2.@Controller

3. @After

4.@RequestMapping

Posted Date:-2022-01-03 00:49:05


Question:
HibernateFlowExecutionListener and JpaFlowExecutionListener both belongs to which of the package.

1.org.springframework.web.persistence package

2.org.springframework.persistence package

3.org.springframework.webflow package package

4.org.springframework.webflow.persistence package

Posted Date:-2022-01-03 00:39:11


Question:
Interface which is used to persist instances sessions.

1. serializable

2.file.io

3. io.file.*

4.none of the mentioned

Posted Date:-2022-01-03 00:29:19


Question:
Libraries used to integrate Hibernate with JPA.

1. Hibernate 3

2.Hibernate 3 Entity Manager

3.JPA API

4. All of the mentioned

Posted Date:-2022-01-03 00:39:51


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

1.HttpServletRequest or HttpServleResponse

2.@RequestParam

3.@ModelAttribute

4.All of the mentioned

Posted Date:-2022-01-03 00:49:29


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

1.True

2. False

3.error

4.None of these

Posted Date:-2022-01-03 00:25:47


Question:
Required dependencies to manage web UI flows.

1. spring web flow distribution.

2.org.springframework.webflow

3.all of the mentioned

4.none of the mentioned

Posted Date:-2022-01-03 00:26:12


Question:
Resources retrieved by Spring Faces Component.

1.JavaScript

2.CSS

3.All of the mentioned

4.None of the mentioned

Posted Date:-2022-01-03 00:45:26


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

1.True

2.False

3.error

4.None of these

Posted Date:-2022-01-03 00:41:42


Question:
Spring manages UI as flows.

1. True

2.False

3.error

4.None of these

Posted Date:-2022-01-03 00:25:00


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

1.True

2.False

3.error

4.None of these

Posted Date:-2022-01-03 00:26:52


Question:
Spring web flow supports integration with.

1. JSF

2.Hibernate

3. JPA

4.all of the mentioned

Posted Date:-2022-01-03 00:33:39


Question:
Spring Web flow supports.

1. Unified EL

2.Object-Graph Navigation Language (OGNL)

3.All of the mentioned

4.none of the mentioned

Posted Date:-2022-01-03 00:26:37


Question:
Stated related to Spring Web flows.

1.view

2. action

3.decision

4.all of the mentioned

Posted Date:-2022-01-03 00:25:27


Question:
To configure JPA vendor-specific information.

1. JPA vendor adaptor

2.Data source

3.All of the mentioned

4.none of the mentioned

Posted Date:-2022-01-03 00:40:14


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

1.FlowHandlerMapping

2.FlowHandler

3.FlowHandlerMappingRequest

4.none of the mentioned

Posted Date:-2022-01-03 00:27:16


Question:
To enable Spring security for web flows.

1.SecurityFlowExecutionListener

2.SecurityFlowExecution

3.FlowSecurity

4.SecurityFlowListener

Posted Date:-2022-01-03 00:32:06


Question:
To secure web flows with Spring Security.

1. DelegatingFilter

2. DelegatingFilterProxy

3.DelegatingProxy

4.none of the mentioned

Posted Date:-2022-01-03 00:31:03


Question:
To use JSF Validation components provided by spring faces.

1. Faces

2.Spring Javascript

3. Facelets

4.none of the mentioned

Posted Date:-2022-01-03 00:42:06


Question:
Variable to trigger the flow execution.

1.${flowExecutionUrl}

2. ${exec.flow}

3.${flowExecutionUrl.match}

4.none of the mentioned

Posted Date:-2022-01-03 00:28:27


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

1.attribute

2. attributes-security

3. attributes

4. none of the mentioned

Posted Date:-2022-01-03 00:33:13


Question:
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>

1. org.springframework.webflow.security.SecurityFlow

2.org.springframework.webflow.SecurityFlowExecutionListener

3. org.springframework.webflow.security.SecurityFlowExecutionListener

4. org.springframework.security.SecurityFlowExecutionListener

Posted Date:-2022-01-03 00:32:52


Question:
XML Based flow definitions can be validated by:-

1.Spring Web Flow XSD

2.Spring IDE

3. SpringSource Tool Suite

4.all of the mentioned

Posted Date:-2022-01-03 00:27:39


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

1. True

2. False

3.error

4.None of these

Posted Date:-2022-01-03 00:40:31


More MCQS

  1. Spring Mcq Set 1
  2. Spring Mcq Set 2
  3. Spring Mcq Set 3
  4. Spring Mcq Set 4
  5. Spring Mcq Set 5
  6. Spring Mcq Set 6
  7. Spring Mcq Set 7
  8. Spring Mcq Set 8
  9. Spring Mcq Set 9
  10. Spring Mcq Set 10
  11. Spring Mcq Set 11
  12. Spring Mcq Set 12
  13. Spring Mcq Set 13
  14. Spring Mcq Set 14
  15. Spring Mcq Set 15
  16. Spring Mcq Set 16
  17. Spring Mcq Set 17
  18. Spring Mcq Set 18
  19. Spring Mcq Set 19
  20. Spring Mcq Questions
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!