Wednesday 23 January 2013

Spring-Core interview questions

Implementation Based - 
Auto wiring -
http://www.coderanch.com/t/603029/Spring/Autowired-properies
Common Questions - http://javarevisited.blogspot.in/2011/09/spring-interview-questions-answers-j2ee.html






Fundamental - 
http://java67.blogspot.sg/2012/08/spring-interview-questions-answers.html 
  1. Can we assign the reference of prototype bean to singleton bean & vise versa ?
  2. Is spring singleton , singleton to class-loader or not ?
  3. Difference in life cycle of singleton and prototype bean ? (hint - destroy-method execution)
Link - http://static.springsource.org/spring/docs/3.2.x/spring-framework-reference/html/beans.html#beans-factory-scopes
  1. Spring annotations and their purpose
  2. Difference between <context:annotation-config> and <context:component-scan>
  3. Register singleton bean to spring factory using registerSingleton

No comments:

Post a Comment