Home / CSE MCQs / Spring MCQs :: Spring Web Flow, MVC, REST, Flex

CSE MCQs :: Spring MCQs

  1. Validator field is not assigned to any bean, but rather a factory class of the type.
  2. A.
    javax.validation.Validator
    B.
    javax.validation.ValidatorFactory
    C.
    javax.validation.ValidatorFactor
    D.
    none of the mentioned

  3. The source artifacts of a Flex application are:-
  4. A.
    ActionScript files (ending in .as)
    B.
    ActionScript files (ending in .mxml)
    C.
    All of the mentioned
    D.
    None of the mentioned

  5. Attribute used to handle web flow requests.
  6. A.
    servlet-mapping
    B.
    servlet-attr
    C.
    servlet-flow
    D.
    servlet-requests

  7. To access JSON in a Spring application, library used is:-
  8. A.
    JSON-LIB
    B.
    SpringJSON-lib
    C.
    JSON-lib
    D.
    None of the mentioned

  9. Spring supports a series of mechanisms to generate a REST service's payload.
  10. A.
    True
    B.
    False
    C.
    Error
    D.
    None of the above

  11. Spring BlazeDS creates existing Spring beans as AMF endpoints.
  12. A.
    True
    B.
    False
    C.
    Error
    D.
    None of the above

  13. Handler method's annotation.
  14. A.
    @Before
    B.
    @Controller
    C.
    @After
    D.
    @RequestMapping

  15. Alternative way to resolve locales.
  16. A.
    AcceptHeaderLocale
    B.
    AcceptHeader
    C.
    AcceptHeaderLocaleResolver
    D.
    SessionLocaleResolver

  17. View beans from a resource bundle is loaded by.
  18. A.
    ResourceBundleViewResolver
    B.
    ResourceBundleView
    C.
    ResourceViewResolver
    D.
    None of the mentioned

  19. To configure the exception mappings in the web application context.
  20. A.
    SimpleMappingExceptionResolver
    B.
    ExceptionResolver
    C.
    ExceptionViewResolver
    D.
    None of the mentioned