I know there is a term Bean scope
in Spring framework, and for some reasons it is confusing me, mainly because of the term scope
, because we have this terms (scope) in languages, like C
, Java
applied to a variable scope (that is where a variable is visible).
I know there are five bean scope, and I am not asking explanation on them, I am not clear on what Bean scope
means. Can anyone help me understand what does this term mean?
In programming languages scope of the variables defines where in the code, the variable can be reached.
In Spring framework scope of the bean defines when during the application runtime we are dealing with the same object.
In computer science, the scope term is overloaded, the same as the term interface. You can have a Go or Java interface as well as PCI or ISA.
Well, the term overload is also overloaded.