Spring / Spring Beans
How do I define the scope of a bean in spring framework?
While defining a bean in Spring xml configuration, the scope also can be declared for the bean. The scope attribute of the bean defines its scope.
The scope attribute takes one of the five values: singleton, prototype, request, session and global session
.
More Related questions...