Medium
A bean with a session scope is injected into a bean with a singleton scope.
What happens when the application starts?
Author: W3D TeamStatus: PublishedQuestion passed 2892 times
Edit
16
Community EvaluationsNo one has reviewed this question yet, be the first!
17
Explain the prototype scope in Spring6
How does Spring match beans?5
How is PDO implemented in Spring?8
Explain the `session` scope in Spring5
What is the scope of a bean with a `request` scope?4
A bean with a singleton scope must be thread safe5
The `@Autowired` annotation is a Spring annotation, accepts a parameter allowing to specify if a dependency is optional