1 What is scope
scope is the scope of the bean.
2 The five scopes of spring beans
First, singleton;
Second, prototype;
Third, request;
Fourth, session;
Fifth, global session;
Default is singleton.
The latter three are not commonly used.
1 What is scope
scope is the scope of the bean.
2 The five scopes of spring beans
First, singleton;
Second, prototype;
Third, request;
Fourth, session;
Fifth, global session;
Default is singleton.
The latter three are not commonly used.