Explore topic-wise MCQs in Java Spring Framework.

This section includes 59 Mcqs, each offering curated multiple-choice questions to sharpen your Java Spring Framework knowledge and support exam preparation. Choose a topic below to get started.

51.

Which locale (i.e., from an internationalization properties file) to use for a user is based on?

A. /grails-app/conf/spring/resource.groovy file
B. user’s browser language preferences
C. all of the mentioned
D. none of the mentioned
Answer» D. none of the mentioned
52.

Grails relies on the standard Java JDBC notation to specify RDBMS.

A. True
B. False
C. May be
D. Can't say
Answer» B. False
53.

AbstractDependencyInjectionSpringContextTests supports dependency injection.

A. auto-wires beans by type via setter methods
B. auto-wires beans by name via protected fields
C. none of the mentioned
D. all of the mentioned
Answer» D. all of the mentioned
54.

There is no default configuration present in an application resource.groovy file.

A. True
B. False
C. May be
D. Can't say
Answer» B. False
55.

To deploy the application to a web container:-

A. mvn tomcat:run
B. mvn jetty:run
C. all of the mentioned
D. none of the mentioned
Answer» D. none of the mentioned
56.

An XML file containing configuration parameters for an application’s launch.

A. application.properties
B. build.xml
C. court.iws
D. court.launch
Answer» E.
57.

An XML file containing configuration parameters for an application’s deployment.

A. application.properties
B. build.xml
C. court.iws
D. court.iml
Answer» D. court.iml
58.

An Apache Ant script with a series of predefined tasks designed to create a Grails application.

A. application.properties
B. build.xml
C. manifest.xml
D. court.iml
Answer» C. manifest.xml
59.

Used to define an application’s properties.

A. application.properties
B. build.xml
C. manifest.xml
D. court.iml
Answer» B. build.xml