Top 1000+ Solved Cloud Computing MCQ Questions Answer

From 481 to 495 of 960

Q. Annotation which allows the Jaxb2Marshaller marshaller to detect a class’s(i.e., object’s) fields.

a. @xmlrootelement

b. @xmlroot

c. @notnull

d. none of the mentioned

  • a. @xmlrootelement

Q. Accessing a third-party REST service inside a Spring application.

a. resttemplate class

b. viewresolver

c. internalviewresolver

d. view

  • a. resttemplate class

Q. REST service end point comprises an address.

a. starts with http:// and ends with ?

b. starts with http:// and ends with &

c. no certain url is specified

d. depends upon the platform used

  • a. starts with http:// and ends with ?

Q. XML tag which represents information related to a REST service request.

a. result

b. title

c. none of the mentioned

d. all of the mentioned

  • d. all of the mentioned

Q. RestTemplate class method which performs an HTTP HEAD operation.

a. headforheaders(string, object…)

b. getforobject(string, class, object…)

c. postforlocation(string, object, object…)

d. postforobject(string, object, class, object…)

  • a. headforheaders(string, object…)

Q. 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

  • a. web services description language

Q. 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

  • d. all of the mentioned

Q. 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

  • d. all of the mentioned

Q. 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

  • a. jax-rpc

Q. 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

  • c. all of the mentioned

Q. 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

  • c. all of the mentioned

Q. Exposing a stand-alone SOAP endpoint using the:-

a. simplejaxwsserviceexporter

b. jax-ws

c. all of the mentioned

d. none of the mentioned

  • c. all of the mentioned

Q. 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

  • b. jaxws:endpoint

Q. Publishing messages is handled through                 Class.

a. client()

b. server()

c. publish()

d. batch()

  • a. client()

Q. client() class provides                  to create topics.

a. software

b. classes

c. methods

d. batch

  • c. methods
Subscribe Now

Get All Updates & News