Question from the Spring test

A bean with a `session` scope is injected into a bean with a` singleton` scope. What happens when the application starts?

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 2339 times
Edit
11
Community Evaluations
developer avatar
Mohamed
15/06/2024
la plupart des conteneurs d'application Java EE ou Spring permettent à l'application de démarrer sans crasher immédiatement, bien que cela puisse générer des avertissements dans les logs du serveur.
developer avatar
jalil
12/05/2024
je pense que mq réponse est correct un warning est levé
developer avatar
Auteur anonyme
20/05/2024
Peut-ĂȘtre bien que oui, peut-ĂȘtre bien que non