The Bean and the Container

What the container actually is, and the five things it does to every bean before it's ready to use.

  • 6 cards
  • 4 questions
  • About 6 min
  • Difficulty
Share

ApplicationContext is the interface you will type constantly, and the one whose relationship to BeanFactory almost nobody can state on request. This topic settles both: what makes an object a bean rather than just an object, what the container adds beyond creating one, and the fixed order every bean passes through before it's usable. It does not cover writing a custom BeanPostProcessor or working with more than one context — the Spring reference docs are the place for either.

Contents

6 cardsnot started