Spring Interview Questions

The following are the list of questions in the Spring Interview Questions and Answers section. Please read the Spring Interview Questions

1)What is Spring?

2)Explain Spring?

3)What are the different modules in Spring framework?

4)What is the structure of Spring framework?

5)What is the Core container module?

6)What is Application context module?

7)What is AOP module?

8)What is JDBC abstraction and DAO module?

9)What are object/relational mapping integration module?

10)What is web module?

11)What is web module?

12)What is a BeanFactory?

13)What is AOP Alliance?

14)What is Spring configuration file?

15)What does a simple spring application contain?

16)What is XMLBeanFactory?

17)What are important ApplicationContext implementations in spring framework?

18)Explain Bean lifecycle in Spring framework?

19)What is bean wiring?

20)How do add a bean in spring application?

21)What are singleton beans and how can you create prototype beans?

22)What are the important beans lifecycle methods?

23)How can you override beans default lifecycle methods?

24)What are Inner Beans?

25)What are the different types of bean injections?

26)What is Auto wiring?

27)What are different types of Autowire types?

28)What are the different types of events related to Listeners?

29)What is an Aspect?

30)What is a Jointpoint?

31)What is an Advice?

32)What is a Pointcut?

33)What is an Introduction in AOP?

34)What is a Target?

35)What is a Proxy?

36)What is meant by Weaving?

37)What are the different points where weaving can be applied?

38)What are the different advice types in spring?

39)What are the different types of AutoProxying?

40)What is the Exception class related to all the exceptions that are thrown in spring applications?

41)What kind of exceptions those spring DAO classes throw?

42)What is DataAccessException?

43)How can you configure a bean to get DataSource from JNDI?

44)How can you create a DataSource connection pool?

45)How JDBC can be used more efficiently in spring framework?

46)How JdbcTemplate can be used?

47)How do you write data to backend in spring using JdbcTemplate?

48)Explain about PreparedStatementCreator?

49)Explain about BatchPreparedStatementSetter?

50)Explain about RowCallbackHandler and why it is used?

Spring Interview Questions

Recommended Books

Java / J2EE Tutorials

Spring Framework

Hibernate Framework

JSF Framework

Struts Framework

Java Server Pages(JSP)


Java / J2EE Design Patterns