

MCQOPTIONS
Saved Bookmarks
This section includes 17 Mcqs, each offering curated multiple-choice questions to sharpen your Spring knowledge and support exam preparation. Choose a topic below to get started.
1. |
Tomcat doesn’t support JAX-WS by itself. |
A. | True |
B. | False |
Answer» B. False | |
2. |
In some cases, it’s also hard to map an object to XML (e.g., an object graph with cyclic references) because there’s actually an impedance mismatch between an object model and an XML model. |
A. | True |
B. | False |
Answer» B. False | |
3. |
IF_YOU_ARE_DEPLOYING_INTO_A_JAVA_EE_5_(OR_BETTER)_CONTAINER,_YOU_MAY_SIMPLY_CREATE_A_BEAN_THAT_IS_ANNOTATED_WITH:-?$ |
A. | javax.jws.WebService |
B. | javax.jws.WebServiceProvider |
C. | all of the mentioned |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
4. |
Spring provides a factory that can export beans annotated with:-$ |
A. | javax.jws.WebService |
B. | javax.jws.WebServiceProvider |
C. | all of the mentioned |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
5. |
If you are using the JAX-RS Reference Implementation, this intermediary step will involve a tool called wsgen.$ |
A. | True |
B. | False |
Answer» B. False | |
6. |
Factory to use our Spring bean as the implementation:- |
A. | jaxws:end |
B. | jaxws:endpoint |
C. | all of the mentioned |
D. | none of the mentioned |
Answer» C. all of the mentioned | |
7. |
CXF represents the consolidation of the Celtix and XFire projects, which each had useful SOAP support. |
A. | True |
B. | False |
Answer» B. False | |
8. |
Tomcat doesn’t support JAX-WS by itself.$ |
A. | True |
B. | False |
Answer» B. False | |
9. |
Exposing a stand-alone SOAP endpoint using the:- |
A. | SimpleJaxWsServiceExporter |
B. | JAX-WS |
C. | All of the mentioned |
D. | None of the mentioned |
Answer» D. None of the mentioned | |
10. |
To send objects across the wire, beans need to be encoded using the Java Architecture for XML Binding (JAXB)? |
A. | True |
B. | False |
Answer» B. False | |
11. |
The standard for deploying web services on the Java EE platform as of Java EE 1.4:- |
A. | JAX-RPC |
B. | JAX |
C. | RPC |
D. | None of the mentioned |
Answer» B. JAX | |
12. |
Spring comes with a service exporter that can export a bean as a SOAP web service. |
A. | True |
B. | False |
Answer» C. | |
13. |
Service exporters that can export a bean as a remote service based on the :- |
A. | RMI |
B. | Hessian |
C. | Burlap |
D. | All of the mentioned |
Answer» E. | |
14. |
In some cases, it’s also hard to map an object to XML (e.g., an object graph with cyclic references) because there’s actually an impedance mismatch between an object model and an XML model.$ |
A. | True |
B. | False |
Answer» B. False | |
15. |
In contrast, the contract-first approach encourages you to think of the service contract first in terms of :- |
A. | XML |
B. | XML Schema(.xsd) |
C. | WSDL |
D. | All of the mentioned |
Answer» E. | |
16. |
There are two approaches to developing a web service, depending on whether you define the contract first or last. |
A. | True |
B. | False |
Answer» B. False | |
17. |
A web service contract is described using :- |
A. | Web Services Description Language |
B. | Web Services Description |
C. | All of the mentioned |
D. | None of the mentioned |
Answer» B. Web Services Description | |