Question: what are the scopes of bean in spring?
Answer: singleton – only one instance of the spring bean will be created for the spring container. ... 
prototype – A new instance will be created every time the bean is requested from the spring container.
request – This is same as prototype scope, however it's meant to be used for web applications.