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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum