Spring/Spring Mcq Set 7 Sample Test,Sample questions

Question:
 Class which is capable of performing a multitude of operations on REST services.

1.RestTemplate

2. XPathTemplate

3.XMLTemplate

4. JavaTemplate


Question:
 In Flash, the displayed area where animation and rendering occurs.

1. Stage

2.Animation

3.Stagery

4.Statement in lieu


Question:
 Information you wish to publishas a JSON Object can be located in a RDBMS or text file, accessed through JDBC or ORM.

1.True

2.False

3.error

4.None of these


Question:
 Notation for defining REST endpoints.

1. { }

2. *

3.All of the mentioned

4.None of the mentioned


Question:
 REST service end point comprises an address.

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

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

3.no certain URL is specified

4.depends upon the platform used


Question:
 The MappingJacksonJsonView class depends on Jackson JSON processor library.

1.org.codehaus.jackson

2.jackson-mapper-asl

3. all of the mentioned

4.none of the mentioned


Question:
 The source artifacts of a Flex application are:-

1. ActionScript files (ending in .as)

2. ActionScript files (ending in .mxml)

3. All of the mentioned

4.none of the mentioned


Question:
 To extract and manipulate payloads in Spring REST in a format other than String.

1.HttpConverter

2. HttpMessage

3.HttpConverterMessage

4. None of the mentioned


Question:
 To extract and manipulate the contents of a REST service payload.

1.messageConverters

2. StreamSource class

3. converters

4. convertersMessage


Question:
 To keep our code as ready-to-deploy as possible.

1.parameterize the URL of the service in the client

2.add an entry to your /etc/hosts file on Unix derivatives or, on Windows, to your C:WINDOWSsystem32driversetchosts

3.none of the mentioned

4. all of the mentioned


Question:
Accessing a third-party REST service inside a Spring application.

1.RestTemplate Class

2. ViewResolver

3.InternalViewResolver

4.View


Question:
ActionScript code pages end in .as, and ActionScript binaries are .sf files.

1.True

2.False

3.error

4.None of these


Question:
All REST service payloads rely on XML markup.

1.True

2.False

3.error

4.None of these


Question:
Annotation added as an input parameter to the handler method.

1.@PathVariable

2.@Path

3.@PathLocale

4.None of the mentioned


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

1.@XmlRootElement

2.@XmlRoot

3.@NotNull

4.None of the mentioned


Question:
As soon as the application has been loaded and all the objects configured, an event will be fired.

1.applicationEvent

2.applicationComplete

3.eventConfigure

4.eventComplete


Question:
Class that forms part of Spring to apply JSON content.

1.MappingJacksonJsonView

2. MappingJsonView

3.MappingJacksonJson

4. JsonView


Question:
Flex is that it is, technically, a library implemented on top of the middleware.

1. True

2. False

3.error

4.None of these


Question:
Flex uses a language called ActionScript 3.0.

1.True

2.False

3.error

4.None of these


Question:
General-purpose class that allows a response to be rendered using a marshaller.

1.MarshallingView

2.Marshalling

3. View

4.All of the mentioned


Question:
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.

1. True

2. False

3.error

4.None of these


Question:
IntelliJ IDEA product, versions 8 and 9, supports:-

1.Flex

2.AIR

3.None of the mentioned

4. All of the mentioned


Question:
JavaScript library dynamically adds the plug-in content to the page.

1.True

2.False

3.error

4.None of these


Question:
JavaScript library dynamically generates.

1.object

2.plugin

3.FlashVars

4.all of the mentioned


Question:
JSON payload consists of text and separators like.

1. { , }

2. ( , )

3. :

4.All of the mentioned


Question:
Linkable libraries have the extension.

1. .swc

2. .dll

3. .so

4.none of the mentioned


Question:
Marshalling is the process of transforming an in-memory representation of an object into a data format.a

1.True

2.False

3.error

4.None of these


Question:
MXML files support a limited form of expression language binding

1. True

2. False

3.error

4.None of these


Question:
Outermost tag in AIR.

1.mx:Application

2.mx:WindowedApplication

3.all of the mentioned

4.none of the mentioned


Question:
Outermost tag in Flex.

1.mx:Application

2.mx:WindowedApplication

3.all of the mentioned

4.none of the mentioned


Question:
Payload format for REST services.

1.RSS

2.Atom

3. JSON

4. All of the mentioned


Question:
Publishing an application’s data as a REST service requires.

1.@RequestMapping

2.@PathVariable

3.All of the mentioned

4.None of the mentioned


Question:
RestTemplate class method which performs an HTTP HEAD operation.

1.headForHeaders(String, Object…)

2. getForObject(String, Class, Object…)

3.postForLocation(String, Object, Object…)

4.postForObject(String, Object, Class, Object…)


Question:
Spring BlazeDS creates existing Spring beans as AMF endpoints.

1. True

2.False

3.error

4.None of these


Question:
Spring MVC supports generating PDF files using which of the following libraries.

1.iText library

2. iJText library

3.all of the mentioned

4.none of the mentioned


Question:
Spring supports a series of mechanisms to generate a REST service payload.

1. True

2.False

3.error

4.None of these


Question:
The endpoint URL attribute defines where service is mounted.

1. endpoint URL

2.endpoint

3.endpoint service

4. none of the mentioned


Question:
The Handler method assigns the returning XML payload to a String.

1.True

2.False

3.error

4.None of these


Question:
The marshaller used by MarshallingView belongs to one of a series of XML marshallers.

1. Jaxb2Marshaller

2.XmlBeansMarshaller

3.CastorMarshalle

4.All of the mentioned


Question:
The service, which will simply fetch all the items that are for auction and return the description.

1. SpringBlaze DS

2. SpringFlex

3.EventSpring

4.All of the mentioned


Question:
To access JSON in a Spring application, library used is:-

1. JSON-LIB

2.SpringJSON-lib

3. JSON-lib

4.None of the mentioned


Question:
To configure Jaxb2Marshaller marshaller we require.

1.ClassesToBeBound

2. ContextPath

3.All of the mentioned

4.None of the mentioned


Question:
To override the default implementations registered with the RestTemplate class.

1. messageConverters

2.messageConvert

3. converters

4. convertersMessage


Question:
To publish a REST service with Spring.

1. publishing an application’s data as a REST service

2.accessing data from third-party REST services

3.none of the mentioned

4.all of the mentioned


Question:
To talk to the containing HTML page.

1.flash.external.ExternalInterface

2.flash.external.External

3.flash.external.ExternalInterface

4.none of the mentioned


Question:
To write your own converters relying on the MarshallingHttpMessageConverter interface that would allow the use of custom marshallers.

1. messageConverters

2.messageConvert

3. converters

4. convertersMessage


Question:
XML query language for selecting nodes from an XML document.

1.XPathTemplate

2.XPath

3.All of the mentioned

4.None of the mentioned


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

1.Result

2. Title

3.None of the mentioned

4. All of the mentioned


Question:
XML variant that describe the UI components and provide a DOM.

1.AS files

2. MXML files

3.XML Files

4.all of the mentioned


Question:
You are often better served accessing and manipulating REST services with XML payloads in Spring applications.

1.True

2.False

3.error

4.None of these


More MCQS

  1. Spring Mcq Set 1
  2. Spring Mcq Set 2
  3. Spring Mcq Set 3
  4. Spring Mcq Set 4
  5. Spring Mcq Set 5
  6. Spring Mcq Set 6
  7. Spring Mcq Set 7
  8. Spring Mcq Set 8
  9. Spring Mcq Set 9
  10. Spring Mcq Set 10
  11. Spring Mcq Set 11
  12. Spring Mcq Set 12
  13. Spring Mcq Set 13
  14. Spring Mcq Set 14
  15. Spring Mcq Set 15
  16. Spring Mcq Set 16
  17. Spring Mcq Set 17
  18. Spring Mcq Set 18
  19. Spring Mcq Set 19
  20. Spring Mcq Questions
Search
Olete Team
Online Exam TestTop Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Testwebsite is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!