четвер, 11 лютого 2016 р.

Spring: questions

1. What are the main Spring features?

  • AOP support 
  • Lightweight framework 
  • container 
  • Inversion of control implementation 



2. How many jar files do new versions of Spring consist of?

  • Many 

3. What are some modules that present in Spring?

  • AOP 
  • Beans 
  • Test Context
  • Web 

4. Which modules are part of Data Access layer in Spring Framework?

  • JPA 
  • JMS

5. What is hard to do when high coupling present?

  • Easy implementation swap 
  • Unit-test in isolation
6. What are the possible bean scopes present in Spring?
  • singleton
  • prototype
  • request
  • session
7. What is the default bean scope in Spring?
  • singleton
8. What is true about inner beans?
  • Can't be reused by other beans
  • Created when outer bean is initialized
9. How to define a static method that creates a bean?
  • <bean factory-method="..."

Немає коментарів:

Дописати коментар