adplus-dvertising
frame-decoration

Question

Annotation which receives a value in the form regexp=”.+@.+\\.[a-z]+”.

a.

@Pattern

b.

@EmailRecognizer

c.

@Email

d.

@Null

Posted under Java Spring Framework

Answer: (a).@Pattern

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Annotation which receives a value in the form regexp=”.+@.+\\.[a-z]+”.

Similar Questions

Discover Related MCQs

Q. A field named validator is of type.

Q. Validator field is not assigned to any bean, but rather a factory class of the type.

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

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.