Spring MCQ Quiz Hub

Spring Mcq Set 7

Choose a topic to test your knowledge and improve your Spring skills

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





✅ Correct Answer: 1

To publish a REST service with Spring.





✅ Correct Answer: 4

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





✅ Correct Answer: 3

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





✅ Correct Answer: 1

Annotation added as an input parameter to the handler method.





✅ Correct Answer: 1

Notation for defining REST endpoints.





✅ Correct Answer: 3

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





✅ Correct Answer: 1

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





✅ Correct Answer: 1

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





✅ Correct Answer: 4

To configure Jaxb2Marshaller marshaller we require.





✅ Correct Answer: 3

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.





✅ Correct Answer: 1

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





✅ Correct Answer: 1

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





✅ Correct Answer: 1

REST service end point comprises an address.





✅ Correct Answer: 1

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





✅ Correct Answer: 4

RestTemplate class method which performs an HTTP HEAD operation.





✅ Correct Answer: 1

Payload format for REST services.





✅ Correct Answer: 4

All REST service payloads rely on XML markup.





✅ Correct Answer: 2

Class that forms part of Spring to apply JSON content.





✅ Correct Answer: 1

The MappingJacksonJsonView class depends on Jackson JSON processor library.





✅ Correct Answer: 1

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





✅ Correct Answer: 1

JSON payload consists of text and separators like.





✅ Correct Answer: 4

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





✅ Correct Answer: 1

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





✅ Correct Answer: 1

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





✅ Correct Answer: 1

XML query language for selecting nodes from an XML document.





✅ Correct Answer: 2

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





✅ Correct Answer: 1

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





✅ Correct Answer: 3

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





✅ Correct Answer: 1

To override the default implementations registered with the RestTemplate class.





✅ Correct Answer: 1

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





✅ Correct Answer: 2

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





✅ Correct Answer: 4

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





✅ Correct Answer: 2

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





✅ Correct Answer: 1

Flex uses a language called ActionScript 3.0.





✅ Correct Answer: 2

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





✅ Correct Answer: 2

Linkable libraries have the extension.





✅ Correct Answer: 1

The source artifacts of a Flex application are:-





✅ Correct Answer: 3

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





✅ Correct Answer: 2

MXML files support a limited form of expression language binding





✅ Correct Answer: 1

Outermost tag in Flex.





✅ Correct Answer: 1

Outermost tag in AIR.





✅ Correct Answer: 2

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





✅ Correct Answer: 2

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





✅ Correct Answer: 1

JavaScript library dynamically generates.





✅ Correct Answer: 4

To talk to the containing HTML page.





✅ Correct Answer: 1

The endpoint URL attribute defines where service is mounted.





✅ Correct Answer: 1

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





✅ Correct Answer: 4

Spring BlazeDS creates existing Spring beans as AMF endpoints.





✅ Correct Answer: 1

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





✅ Correct Answer: 1