Spring Boot Flashcards
Beans
A bean is an object that is instantiated, assembled, and managed by a Spring IoC container.(the backbone of a Spring application)
Spring IOC(inversion of control)
a process in which an object defines its dependencies without creating them. This object delegates the job of constructing such dependencies to an IoC container.
Instead of constructing dependencies(instantiating dependent objects) by itself, an object can retrieve its dependencies from an IoC container.All we need to do is to provide the container with appropriate configuration metadata
Annotations
@Autowired
@Bean
@Value(“${property_fullname_from_applicationPrepertiesfiles}”) –> spring expression language
@Configuration