GoConqr has a new look! Let us know what you think.

Quiz

Questões - Asynchronous web application

Luis Felipe Guariento 5 questions

Take the quiz

Questions in this quiz (5)

  1. 1AJAX is a technique for:

    Select two options
    1. AUpdating content on a page in real time without the entire page being refreshed.
    2. BMaking requests to a server by the user leaving the page they are on.
    3. CBrowsers to make background requests to the server
    4. DUpdating content on a page by refreshing the entire page
  2. 2Consider this statement in the deployment descriptor for a servlet:
    <web-app>
    ........
    <servlet>
    ........
    <async-supported>true< / async-supported>
    </servlet-class>
    ...........
    </web-app>

    What does this statement indicate?

    Select two options.
    1. AAsynchronous capability has been enabled for a component.
    2. BJust because asynchronous capability has been enabled, the component doesn't have to start an asynchronous request cycle.
    3. CThe component now executes an asynchronous request cycle only.
    4. DNone of the options
  3. 3What is the method in ServletRequest API to start asynchronous processing with the given request and response objects?
    1. Avoid startAsync(ServletRequest, ServletResponse) throws java.lang.IllegalStateException
    2. BAsyncContext startAsync(ServletRequest, ServletResponse) throws java.lang.IllegalStateException
    3. CAsyncContext startAsync(ServletRequest, ServletResponse)
    4. DAsyncContext startSync(ServletRequest, ServletResponse) throws java.lang.IllegalStateException
  4. 4AsyncContext is a:
    1. AClass
    2. BVariable
    3. CMethod
    4. DInterface
  5. 5What happens when there is a request dispatch from an asynchronous servlet to a synchronous servlet?
    1. AIllegalStateException
    2. BRun time exception
    3. CCompiler error
    4. DNothing happens

Information

Description
Concursos Públicos Desenvolvimento de Software (OCEJWCD 6 ONLINE COURSE) Quiz on Questões - Asynchronous web application, created by Luis Felipe Guariento on 28/03/2018.
Language
Português
Views
0
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?