Quiz
Questões - Asynchronous web application
Fragen in diesem Quiz (5)
1AJAX is a technique for:
Select two options- AUpdating content on a page in real time without the entire page being refreshed.
- BMaking requests to a server by the user leaving the page they are on.
- CBrowsers to make background requests to the server
- DUpdating content on a page by refreshing the entire page
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.- AAsynchronous capability has been enabled for a component.
- BJust because asynchronous capability has been enabled, the component doesn't have to start an asynchronous request cycle.
- CThe component now executes an asynchronous request cycle only.
- DNone of the options
3What is the method in ServletRequest API to start asynchronous processing with the given request and response objects?
- Avoid startAsync(ServletRequest, ServletResponse) throws java.lang.IllegalStateException
- BAsyncContext startAsync(ServletRequest, ServletResponse) throws java.lang.IllegalStateException
- CAsyncContext startAsync(ServletRequest, ServletResponse)
- DAsyncContext startSync(ServletRequest, ServletResponse) throws java.lang.IllegalStateException
4AsyncContext is a:
- AClass
- BVariable
- CMethod
- DInterface
5What happens when there is a request dispatch from an asynchronous servlet to a synchronous servlet?
- AIllegalStateException
- BRun time exception
- CCompiler error
- DNothing happens
Informationen
- Beschreibung
- Concursos Públicos Desenvolvimento de Software (OCEJWCD 6 ONLINE COURSE) Quiz am Questões - Asynchronous web application, erstellt von Luis Felipe Guariento am 28/03/2018.
- Sprache
- Português
- Aufrufe
- 0
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz