GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

Questões - Modular Deployment

Luis Felipe Guariento 5 Fragen

Quiz starten

Fragen in diesem 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. ARichtig
    2. BFalsch
  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.

Informationen

Beschreibung
Concursos Públicos Desenvolvimento de Software (OCEJWCD 6 ONLINE COURSE) Quiz am Questões - Modular Deployment, erstellt von Luis Felipe Guariento am 29/03/2018.
Sprache
Português
Aufrufe
0
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck