Spring in Action Flashcards

Study Springboot

1
Q

What is Spring?

A

Application Infrastructure that follows Dependency Injection Pattern to wire dependencies together. It offers a Spring Context Container that will handle these Spring beans vs allowing components from managing the lifecycle of their dependent components.

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

What is @Configuration?

A

Configuration class that will provide beans to the Spring App

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

XML Configuration Files vs Java Configuration file?

A

Greater type safety and improved refactorability with Java.

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

What is Spring Autoconfiguration?

A

Spring makes reasonable guesses at what components need to be configured and wired together, based on entries in the class path, environment variable, and other factors

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