Question
a.
@NotNull
b.
@Size
c.
@MaxSize
d.
@size
Posted under Java Spring Framework
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Annotation used to indicate a field has to have a minimum of 2 characters.
Similar Questions
Discover Related MCQs
Q. Annotation which receives a value in the form regexp=”.+@.+\\.[a-z]+”.
View solution
Q. A field named validator is of type.
View solution
Q. Validator field is not assigned to any bean, but rather a factory class of the type.
View solution
Q. To hold any errors detected from validating the instance of beans.
View solution
Q. To use JSR-303 bean validation in a web application, dependencies to be added in maven.
View solution
Q. Spring doesn’t cope up with pdf and excel views.
View solution
Q. Spring MVC supports generating Excel files using which of the following libraries.
View solution
Q. The view classes for Excel view is/are:-
View solution
Q. Spring MVC supports generating PDF files using which of the following libraries.
View solution
Q. To publish a REST service with Spring.
View solution
Q. Publishing an application’s data as a REST service requires.
View solution
Q. Spring supports a series of mechanisms to generate a REST service payload.
View solution
Q. Annotation added as an input parameter to the handler method.
View solution
Q. Notation for defining REST endpoints.
View solution
Q. General-purpose class that allows a response to be rendered using a marshaller.
View solution
Q. Marshalling is the process of transforming an in-memory representation of an object into a data format.
View solution
Q. The marshaller used by MarshallingView belongs to one of a series of XML marshallers.
View solution
Q. To configure Jaxb2Marshaller marshaller we require.
View solution
Q. 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.
View solution
Q. Annotation which allows the Jaxb2Marshaller marshaller to detect a class’s (i.e., object’s) fields.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Java Spring Framework? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!