Spring Boot Flashcards

1
Q

Beans

A

A bean is an object that is instantiated, assembled, and managed by a Spring IoC container.(the backbone of a Spring application)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Spring IOC(inversion of control)

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Annotations

A

@Autowired
@Bean

@Value(“${property_fullname_from_applicationPrepertiesfiles}”) –> spring expression language
@Configuration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly