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


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


Question:
 JpaFlowExecutionListener and Hibernate Listener binds to flow scope.

1.True

2.False

3.error

4.None of these


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


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


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


Question:
 Property for action to instantiate form objects.

1.formObjectClass

2.formClass

3. objectClass

4.none of the mentioned


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


Question:
 To integrate Hibernate with Spring Web flows.

1. JpaFlowExecutionListener

2.HibernateFlowExecutionListener

3.All of the mentioned

4.None of the mentioned


Question:
 To integrate JPA with Spring Web flows.

1. JpaFlowExecutionListener

2. HibernateFlowExecutionListener

3.All of the mentioned

4. None of the mentioned


Question:
 To resolve Facelets views we configure:-

1.ViewFacelets

2.ViewResolver

3.View-resolver

4.View_Resolver


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


Question:
 View Technologies to render Spring Web MVC view.

1.JSP

2.Tiles

3.All of the mentioned

4.none of the mentioned


Question:
.Servers which listen on port 8080.

1. Apache Tomcat 6.0

2. Jetty

3.None of the mentioned

4.all of the mentioned


Question:
Annotation for Controller Class.

1.@Before

2.@Controller

3.@After

4.@Exception


Question:
Attribute used to handle web flow requests.

1. servlet-mapping

2. servlet-attr

3.servlet-flow

4. servlet-requests


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

1. True

2.False

3.error

4.None of these


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

1. AbstractController

2. Controller

3.Abstract Class

4.AbstractAction


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

1.Form

2. FormAction

3. FormHandler

4.Form-Handler


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

1. clientDateValidator

2.clientValidator

3.dateValidator

4.validator


Question:
Component which encloses command button.

1. validateAll

2.validateAllClick

3.validateAllInClick

4. validateAllOnClick


Question:
Design pattern implemented by Dispatcher Servlet.

1. jsp

2.tiles

3. front controller

4. none of the mentioned


Question:
Element to trigger an action for view module.

1.on-render

2. on-action

3.on-trigger

4. None of the mentioned


Question:
Element which secures web flows.

1.secured

2. security

3. sec

4.none of the mentioned


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


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


Question:
Handler method annotation.

1.@Before

2.@Controller

3. @After

4.@RequestMapping


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


Question:
Interface which is used to persist instances sessions.

1. serializable

2.file.io

3. io.file.*

4.none of the mentioned


Question:
Libraries used to integrate Hibernate with JPA.

1. Hibernate 3

2.Hibernate 3 Entity Manager

3.JPA API

4. All of the mentioned


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


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

1.True

2. False

3.error

4.None of these


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


Question:
Resources retrieved by Spring Faces Component.

1.JavaScript

2.CSS

3.All of the mentioned

4.None of the mentioned


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


Question:
Spring manages UI as flows.

1. True

2.False

3.error

4.None of these


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


Question:
Spring web flow supports integration with.

1. JSF

2.Hibernate

3. JPA

4.all of the mentioned


Question:
Spring Web flow supports.

1. Unified EL

2.Object-Graph Navigation Language (OGNL)

3.All of the mentioned

4.none of the mentioned


Question:
Stated related to Spring Web flows.

1.view

2. action

3.decision

4.all of the mentioned


Question:
To configure JPA vendor-specific information.

1. JPA vendor adaptor

2.Data source

3.All of the mentioned

4.none of the mentioned


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

1.FlowHandlerMapping

2.FlowHandler

3.FlowHandlerMappingRequest

4.none of the mentioned


Question:
To enable Spring security for web flows.

1.SecurityFlowExecutionListener

2.SecurityFlowExecution

3.FlowSecurity

4.SecurityFlowListener


Question:
To secure web flows with Spring Security.

1. DelegatingFilter

2. DelegatingFilterProxy

3.DelegatingProxy

4.none of the mentioned


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

1. Faces

2.Spring Javascript

3. Facelets

4.none of the mentioned


Question:
Variable to trigger the flow execution.

1.${flowExecutionUrl}

2. ${exec.flow}

3.${flowExecutionUrl.match}

4.none of the mentioned


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

1.attribute

2. attributes-security

3. attributes

4. none of the mentioned


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


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


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

1. True

2. False

3.error

4.None of these


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!