Interview Prep Zoneby CuriouserLabs
🏭

IoC Container & Dependency Injection

What the container actually does at startup, injection styles, circular dependencies and wiring control.

  1. 1

    What is Inversion of Control, and what exactly happens when the ApplicationContext starts?

    senior🎬 animated
  2. 2

    Constructor vs setter vs field injection — defend your default and its exceptions.

    senior
  3. 3

    How does Spring handle circular dependencies, and what do you do when you hit one?

    staff
  4. 4

    @Component vs @Bean vs @Configuration — when do you use each, and what does proxyBeanMethods do?

    senior
  5. 5

    Multiple beans implement the same interface. What are your tools to control which gets injected?

    senior