What are the different bean scopes in spring?



What are the different bean scopes in spring?..

Answer / Chetan Kashyap

The different bean scopes in Spring Framework include Singleton (default), Prototype, Request, Session, Application, and WebSocket.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

What is spring in java with example?

1 Answers  


What is handler method in spring?

1 Answers  


What is the spring framework?

1 Answers  


What is embedded container in spring boot? : Spring Boot

1 Answers  


Is spring boot a framework?

1 Answers  


What are profiles in spring?

1 Answers  


Explain the benefits of spring framework?

1 Answers  


What is the difference between setter injection and constructor injection?

1 Answers  


What is the ioc in spring?

1 Answers  


What is @repository annotation in spring boot? : Spring Boot

1 Answers  


What is difference between applicationcontext and beanfactory?

1 Answers  


What are ways to inject dependency in spring?

1 Answers  


Categories