Bean Lifecycle & Scopes
Singleton — the container creates exactly one shared instance of the bean per Spring IoC container (not per JVM), and every injection point and every getBean() call returns that same instance.
Beginner3 min
Bean Lifecycle & Scopes
Singleton — the container creates exactly one shared instance of the bean per Spring IoC container (not per JVM), and every injection point and every getBean() call returns that same instance.


@Scope("singleton") (default) — one shared instance per container, reused across every injection point