• +91 9723535972
  • info@interviewmaterial.com

Spring Interview Questions and Answers

Question - What are the bean scopes available in Spring?

Answer -

The Spring Framework has five scope supports. They are:

  • Singleton: The scope of bean definition while using this would be a single instance per IoC container.
  • Prototype: Here, the scope for a single bean definition can be any number of object instances.
  • Request: The scope of the bean definition is an HTTP request.
  • Session: Here, the scope of the bean definition is HTTP-session.
  • Global-session: The scope of the bean definition here is a Global HTTP session.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners