Spring Dependency Injection Annotation

Topics (page 1) 

  • Annotation-based Dependency Injection 
    • @Autowired, @Required 
  • Qualifier 
    • @Qualifier, Custom qualifier 
  • JSR 330 (Dependency Injection for Java) 
    • @Inject 
  • JSR 250 (Common Annotations) 
    • @PostConstruct & @PreDestroy, @Resource 
  • @Component and further stereotyped annotations 
    • @Service, @Repository, @Controller 
  • Auto scanning 
    • @ComponentScan

Topics (page 2) 

  • Java-based Spring configuration (instead of XML configuration file) 
    • @Configuration, @Bean 
  • Profile 
    • @Profile 
  • Spring Boot 
    • @SpringBootApplication 
    • @EnableAutoConfiguration

 

Download Course Contents