Spring Questions and Answers – Using the Simple JDBC Template and Handling Exceptions

This set of Java Spring Quiz focuses on “Using the Simple JDBC Template and Handling Exceptions”. 1. JdbcTemplate that takes advantage of Java 1.5 features such as autoboxing, generics, and variable-length arguments to simplify its usage. a) org.springframework.jdbc.core.JdbcTemplate b) org.springframework.jdbc.core.simple.SimpleJdbcTemplate c) org.springframework.jdbc.* d) none of the mentioned 2. JdbcTemplate require statement parameters to be passed … Read more

advertisement

Spring Questions and Answers – JDBC Template

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “JDBC Template”. 1. Class which declares a number of overloaded update() template methods to control the overall update process. a) org.springframework.jdbc.core.JdbcTemplate b) org.springframework.jdbc.core.* c) org.springframework.jdbc.* d) none of the mentioned 2. You implement this interface to override the statement creation task. a) … Read more

advertisement

Spring Questions and Answers – Problems with Direct JDBC

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “Problems with Direct JDBC”. 1. Spring supports most of the popular ORM (or data mapper) frameworks. a) Hibernate b) JDO c) JPA d) All of the mentioned 2. ORM which isn’t supported by Spring:- a) Hibernate b) JDO c) TopLink d) All … Read more

advertisement

Spring Questions and Answers – Spring Portlet MVC

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “Spring Portlet MVC”. 1. DispatcherServtlet dispatches portlet requests to appropriate handlers that handle the requests. a) True b) False 2. Maps each request to a handler through one or more handler mapping beans. a) DispatcherServlet b) DispatcherPortlet c) All of the mentioned … Read more

advertisement

Spring Questions and Answers – Integration Testing

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “Integration Testing”. 1. Base class to access the managed application context through the inherited getApplicationContext() method. a) AbstractSingleSpringContextTests b) AbstractSingleSpring c) Test context listener d) Test execution listener 2. The TestContext framework provides two test execution listeners related to context management:- a) … Read more

advertisement

Spring Questions and Answers – Unit Testing Spring

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “Unit Testing Spring”. 1. This encapsulates the context of a test’s execution:- a) Test context b) Test context manager c) Test context listener d) Test execution listener 2. This manages a test context for a test and triggers test execution listeners:- a) … Read more

advertisement

Spring Questions and Answers – SpringSource Tool Suite

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “SpringSource Tool Suite”. 1. The plugin, which provides Maven support to Eclipse a) m2eclipse b) m2plugin c) plugin d) none of the mentioned 2. Spring Roo provides very powerful support to bootstrap most solutions. a) True b) False 3. A database and … Read more

advertisement

Spring Questions and Answers – Spring Roo

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “Spring Roo”. 1. The main mission of Spring Roo is fundamentally and sustainably improve Java developer productivity without compromising engineering integrity or flexibility. a) True b) False 2. Library which helps Spring Roo in using of the command line shell. a) JTag … Read more

advertisement

Spring Questions and Answers – Custom Layouts,Tags and Templates

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “Custom Layouts,Tags and Templates”. 1. A Grails view can contain:- a) HTML Tags b) GSP or JSTL Tags c) Groovy or Java code d) All of the mentioned 2. A view can require a unique combination of display elements and business logic. … Read more

advertisement

Spring Questions and Answers – Logging and Unit Testing

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “Logging and Unit Testing”. 1. To perform its logging operations. a) Log4J b) LogingJ c) JLog d) None of the mentioned 2. Log4J configuration parameters are specified inside:- a) Config.groovy b) Conf.groovy c) Log.groovy d) None of the mentioned 3. Grails application … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.