Hard
A bean with a session
scope
Author: W3D TeamStatus: PublishedQuestion passed 2390 times
Edit
8
Community Evaluations
Mohamed
15/06/2024
un bean avec un scope session a une durée de vie qui correspond à celle d'une session HTTP, ce qui signifie qu'il est créé lorsque la session démarre et détruit lorsque la session expire ou est invalidée. Cela nécessite l'utilisation d'un conteneur d'application web-aware pour gérer correctement les sessions et les beans associés dans un environnement web.
4
A bean with a singleton scope must be thread safe14
A bean with a `session` scope is injected into a bean with a` singleton` scope. What happens when the application starts?5
How is PDO implemented in Spring?16
Explain the prototype scope in Spring4
How does Spring match beans?4
What is the scope of a bean with a `request` scope?4
The `@Autowired` annotation is a Spring annotation, accepts a parameter allowing to specify if a dependency is optional