Web Services and Java Web Technologies
Quiz covering web service standards (SOAP, WSDL, UDDI) and Java web development (JSP, Servlets, HTTP methods)
Questions
Managed servers host the application components and resources which are also deployed and managed as part of the domain.
- True
- False
A domain can have ONLY one cluster.
- True
- False
When using a RequestDispatcher, the use of which method can often lead to an IllegalStateException
- read
- write
- flush
- getOutputStream
Which HTTP method is used to show the client what the server is receiving?
- HEAD
- GET
- POST
- TRACE
- RETURN
Which statement about jspInit() are true?
- It has access to a ServletConfig
- It has access to a ServletContext
- It is only called once
- It can be overridden
Which directives specify an HTTP response that will be of type "image/svg"?(Choose all that apply)
- <%@ page type="image/svg" %>
- <%@ page mimeType="image/svg" %>
- <%@ page language="image/svg" %>
- <%@ page contentType="image/svg" %>
In an HTML Page with a rich graphical layout, which JSP Standard action can be used to import an image file into the JSP page?
- <jsp:image page="logo.png" />
- <jsp:image file="logo.png" />
- <jsp:include page="logo.png" />
- <jsp:include file="logo.png" />
- This cannot be done using a JSP Standard action.
How would you set a header named "CONTENT-LENGTH" in the HttpServletResonse object?
- response.setHeader(CONTENT-LENGTH,"numBytes");
- response.setHeader("CONTENT-LENGTH","numBytes");
- response.setStatus(1024);
- response.setHeader("CONTENT-LENGTH",1024);
WebService is defined as programmable web application logic accessible via standard web protocols.
- True
- False
Web Services advantage are:
- a. Connect independent, heterogeneous systems
- b. Loosely-coupled, message based systems
- c. Open protocols on the wire
- d. All Of the above
SOAP is based on which language
- a. Java
- b. .Net
- c. XML
- d. A & B
SOA stands for :
- a. Simple Oriented Architecture
- b. Service Oriented Architecture
- c. Simple Object Access
- d. Service Object Access
SOAP stands for :
- a. Service Oriented Architecture Protocol
- b. Service Oriented Architecture Program
- c. Simple Object Access Protocol
- d. Service Object Access Project
WSDL stand for:
- a. Web Service Description Language
- b. Web Source for Description Language
- c. Web Service Detection Language
- d. Web Service Destructive Language
Directory where Web-Service are published used which protocol for consistency across :
- a. WSDL
- b. Web Services Directory
- c. UDDI
- d. All of the above
UDDI stand for:
- a. Universal Description, Discovery, and Integration
- b. Universal Directory for Database and Integration
- c. Universal Directory for Discovery and Internationalization
- d. Unit Description, Discovery, and Integration
WSDL standard are define by:
- a. IEEE
- b. W3C
- c. WSDL
- d. All Of the above
DISCO files are used for for publishing the available web Services
- True
- False
Web Services Listener is used for forwarding the received request to a component that implements the required business logic
- True
- False
SOAP Specification Defines :
- a. The Soap Message Format
- b. How to send message and receive response
- c. Data Encoding
- d. A & B only
- e. All Of the above