How many types of spring scopes are there?



How many types of spring scopes are there?..

Answer / 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

More Spring Framework Interview Questions

What is the difference between setter injection and constructor injection?

1 Answers  


Why do we need ioc?

1 Answers  


Is ioc and di same?

1 Answers  


Why we need to integrate struts with spring?

1 Answers  


What is dao spring?

1 Answers  


What is the use of cglib?

1 Answers  


What is root war?

1 Answers  


What namedparameterjdbctemplate in spring?

1 Answers  


How a spring is formed?

1 Answers  


What are the benefits of ioc (dependency injection)?

1 Answers  


Give an example of beanfactory implementation.

1 Answers  


In how many ways can dependency injection be done?

1 Answers  


Categories