Spring Online Quiz



Following quiz provides Multiple Choice Questions (MCQs) related to Spring Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Answer : A

Explanation

WebSocket, Servlet, Web, Portlet are the modules of Web layer.

Answer : D

Explanation

Add <context:annotation-config/> to bean configuration to turn on annotation wiring.

Answer : C

Explanation

Spring supports both XML Schema based and @AspectJ based aspect implementation.

Q 7 - Which of the following database is not supported using jdbcTemplate?

A - MySql

B - PostgresSql

C - NoSql

D - Oracle

Answer : C

Explanation

NoSql is not supported using jdbcTemplate.

Q 8 - SpEL is part of core container.

A - False

B - True

Answer : B

Explanation

SpEL is a part of core container.

Q 9 - If a bean is scoped to HTTP session, scope is

A - global-session

B - session

C - prototype

D - request

Answer : B

Explanation

If a bean is scoped to HTTP session, scope is session.

Answer : B

Explanation

BeanPostProcessor defines callback methods that you can implement to provide your own instantiation logic, dependency-resolution logic etc.

spring_questions_answers.htm
Advertisements