Using Singleton scope for stateful beans. Frame the concept in practical terms so you can explain it during interview discussion.
Singleton scope is the default in Spring and is not suitable for stateful beans, as it can lead to shared state issues. For instance, if a `ShoppingCart` bean is scoped as Singleton, all users will share the same cart instance, which is likely incorrect. Instead, a `Prototype` or `Session` scope should be used for stateful components.
Additional Notes
What’s a common mistake with Bean scopes in Spring?