What is the purpose of the session scope?

Technology CommunityCategory: SpringWhat is the purpose of the session scope?
VietMX Staff asked 3 years ago

The purpose of the session scope is to create an instance of the bean for an HTTP Session. This means the same bean can serve multiple requests if it is scoped in session. You can define the scope of a Spring bean using scope attribute or the @Scope annotation in a Spring MVC application.