Deck 14: Understanding REST Services and Web Services in Spring Framework
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/25
العب
ملء الشاشة (f)
Deck 14: Understanding REST Services and Web Services in Spring Framework
1
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
all of the mentioned
2
Spring supports a series of mechanisms to generate a REST service payload.
True
3
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
@pathvariable
4
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
5
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
6
Marshalling is the process of transforming an in-memory representation of an object into a data format.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
7
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
8
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
9
In the case of classesToBeBound, the classes assigned to this property, indicate the class (i.e., object) structure that is to be transformed into XML.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
10
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
11
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
12
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
13
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…)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
14
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
15
There are two approaches to developing a web service, depending on whether you define the contract first or last.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
16
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
17
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
18
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
19
3 WEB SERVICES
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
20
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
21
To send objects across the wire, beans need to be encoded using the Java Architecture for XML Binding (JAXB).
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
22
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
23
If you are using the JAX-RS Reference Implementation, this intermediary step will involve a tool called wsgen.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
24
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
A)javax.jws.webservice
B)javax.jws.webserviceprovider
C)all of the mentioned
D)none of the mentioned
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
25
Exposing a stand-alone SOAP endpoint using the:-
A)simplejaxwsserviceexporter
B)jax-ws
C)all of the mentioned
D)none of the mentioned
A)simplejaxwsserviceexporter
B)jax-ws
C)all of the mentioned
D)none of the mentioned
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck