Deck 21: Service Components, Rest Services and Web Service Contracts
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/25
Play
Full screen (f)
Deck 21: Service Components, Rest Services and Web Service Contracts
1
Which of the following offers Storage size of 10GB free t0 100 GB paid?
A)adrive
B)4shared
C)badongo
D)all of the mentioned
A)adrive
B)4shared
C)badongo
D)all of the mentioned
4shared
2
Point out the correct statement.
A)service oriented architecture (soa) describes a standard method for requesting services from distributed components and managing the results
B)soa provides the translation and management layer in an architecture that removes the barrier for a client obtaining desired services
C)with soa, clients and components can be written in different languages and can use multiple messaging protocols
D)all of the mentioned
A)service oriented architecture (soa) describes a standard method for requesting services from distributed components and managing the results
B)soa provides the translation and management layer in an architecture that removes the barrier for a client obtaining desired services
C)with soa, clients and components can be written in different languages and can use multiple messaging protocols
D)all of the mentioned
all of the mentioned
3
Which of the following is a repeatable task within a business process?
A)service
B)bus
C)methods
D)all of the mentioned
A)service
B)bus
C)methods
D)all of the mentioned
service
4
Which of the following describes a message-passing taxonomy for a component- based architecture that provides services to clients upon demand?
A)soa
B)ebs
C)gec
D)all of the mentioned
A)soa
B)ebs
C)gec
D)all of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
5
Which of the following is used to define the service component that performs the service?
A)wsdl
B)scdl
C)xml
D)none of the mentioned
A)wsdl
B)scdl
C)xml
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
6
Which of the following is commonly used to describe the service interface, how to bind information, and the nature of the component's service or endpoint?
A)wsdl
B)scdl
C)xml
D)none of the mentioned
A)wsdl
B)scdl
C)xml
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
7
Which of the following provides commands for defining logic using conditional statements?
A)xml
B)ws-bpel
C)json
D)none of the mentioned
A)xml
B)ws-bpel
C)json
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
8
Which of the following is used as middleware layer in the following figure?
A)xml
B)esb
C)uddi
D)none of the mentioned
A)xml
B)esb
C)uddi
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
9
To publish a REST service with Spring.
A)publishing an application's data as a rest service
B)accessing data from third-party rest services
C)none of the mentioned
D)all of the mentioned
A)publishing an application's data as a rest service
B)accessing data from third-party rest services
C)none of the mentioned
D)all of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
10
Publishing an application's data as a REST service requires.
A)@requestmapping
B)@pathvariable
C)all of the mentioned
D)none of the mentioned
A)@requestmapping
B)@pathvariable
C)all of the mentioned
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
11
Annotation added as an input parameter to the handler method.
A)@pathvariable
B)@path
C)@pathlocale
D)none of the mentioned
A)@pathvariable
B)@path
C)@pathlocale
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
12
Notation for defining REST endpoints.
A){ }
B)*
C)all of the mentioned
D)none of the mentioned
A){ }
B)*
C)all of the mentioned
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
13
General-purpose class that allows a response to be rendered using a marshaller.
A)marshallingview
B)marshalling
C)view
D)all of the mentioned
A)marshallingview
B)marshalling
C)view
D)all of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
14
The marshaller used by MarshallingView belongs to one of a series of XML marshallers.
A)jaxb2marshaller
B)xmlbeansmarshaller
C)castormarshalle
D)all of the mentioned
A)jaxb2marshaller
B)xmlbeansmarshaller
C)castormarshalle
D)all of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
15
To configure Jaxb2Marshaller marshaller we require.
A)classestobebound
B)contextpath
C)all of the mentioned
D)none of the mentioned
A)classestobebound
B)contextpath
C)all of the mentioned
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
16
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
B)@xmlroot
C)@notnull
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
17
Accessing a third-party REST service inside a Spring application.
A)resttemplate class
B)viewresolver
C)internalviewresolver
D)view
A)resttemplate class
B)viewresolver
C)internalviewresolver
D)view
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
18
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 ?
B)starts with http:// and ends with &
C)no certain url is specified
D)depends upon the platform used
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
19
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
A)result
B)title
C)none of the mentioned
D)all of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
20
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…)
B)getforobject(string, class, object…)
C)postforlocation(string, object, object…)
D)postforobject(string, object, class, object…)
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
21
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
B)web services description
C)all of the mentioned
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
22
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
A)xml
B)xml schema(.xsd)
C)wsdl
D)all of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
23
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
A)rmi
B)hessian
C)burlap
D)all of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
24
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
B)jax
C)rpc
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
25
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
A)javax.jws.webservice
B)javax.jws.webserviceprovider
C)all of the mentioned
D)none of the mentioned
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck