Spring Framework

annotations

Spring configuration with Java Code - Development process

  1. Create Java class and annotate  @Configuration
  2. Add component scanning support @ComponentScan (optional)
  3. Read Spring Java configuration class
  4. Retrieve bean from spring container

Diskussion