O GoConqr está de visual novo! Conte para nós o que você achou.

Quiz

Questões - Modular Deployment

Luis Felipe Guariento 5 perguntas

Fazer o quiz

Perguntas do quiz (5)

  1. 1What is pluggability?
    1. AThe ability to build modular components which cannot be easily reused in applications.
    2. BCreate components such that the Application Assembler combines it all together.
    3. CThe ability to build modular components which can be easily reused in applications.
    4. DNone of the options.
  2. 2State whether true or false:
    " <servlet-name> is mandatory in a deployment descriptor but it is an opcional element in the @WebServlet annotation.
    1. AVerdadeiro
    2. BFalso
  3. 3Consider this code:

    @WebServlet(
    urlPatterns={"/whizlabs.do"},
    value={"/newservlet"}
    )

    What is wrong with this code?
    1. ANothing is wrong with this code.
    2. B"urlPattern" should only be used with "description".
    3. C"value" should only be used with "asyncSupported".
    4. D"urlPatterns" and "value" should not be used together in @WebServlet annotation.
  4. 4What are the two requirements for the web fragments to be found by the container?
    Select two options.
    1. AThe JAR should be deployed to /WEB-INF/lib directory of the web application.
    2. BThe fragment must be placed in it's own JAR file but outside the META-INF/web-fragment.xml file.
    3. CThe JAR should be deployed to /WEB-INF/ directory of the web application
    4. DThe fragment must be placed in it's own JAR file inside the META-INF/web-fragment.xml file.
  5. 5If both, the deployment descriptor and annotations are present in a web application, which takes precedence?
    1. ADeployment Descriptor.
    2. BAnnotations.

Informações

Descrição
Concursos Públicos Desenvolvimento de Software (OCEJWCD 6 ONLINE COURSE) Quiz sobre Questões - Modular Deployment, criado por Luis Felipe Guariento em 29-03-2018.
Idioma
Português
Visualizações
0
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?