adspace


How many types of spring scopes are there?

Answer Posted / Khem Chand

There are six types of Spring scopes: singleton, prototype, request, session, application, and webSocket. Each scope represents a different lifecycle for beans in the Spring container.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between @controller and @restcontroller in spring?

556


How can you inject java collection in spring?

518


What is lazy class?

490