adplus-dvertising
frame-decoration

Question

To hold any errors detected from validating the instance of beans.

a.

javax.validation.Validator

b.

javax.validation.ValidatorFactory

c.

javax.validation.ValidatorFactor

d.

javax.validation.ConstraintViolation

Answer: (d).javax.validation.ConstraintViolation

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. To hold any errors detected from validating the instance of beans.

Similar Questions

Discover Related MCQs

Q. To use JSR-303 bean validation in a web application, dependencies to be added in maven.

Q. Spring doesn’t cope up with pdf and excel views.

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

Q. The view classes for Excel view is/are:-

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

Q. To publish a REST service with Spring.

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

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

Q. Annotation added as an input parameter to the handler method.

Q. Notation for defining REST endpoints.

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

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

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

Q. To configure Jaxb2Marshaller marshaller we require.

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.

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

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

Q. REST service end point comprises an address.

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

Q. RestTemplate class method which performs an HTTP HEAD operation.