Friday 21 August 2020

Spring Framework Importants

Spring Framework Important

Spring Bean Scopes:

  1. Singleton - create a single instance of the bean
  2. Prototype - create a new bean for each container request
  3. Request - scope to the single Http web request
  4. Session - scope to Http web session
  5. Global-session - scope to Http web global session
Spring Bean Lifecycle:
  1. Container starts
  2. Bean Instantiation
  3. Dependency Injected
  4. Spring Processing
  5. Custom Init method
  6. If required then custom destroy method



1 comment:

  1. Wow, that is quite informative. I like this article very much. The content was good. If any of the engineering students are looking for a communication based projects, I found this site and they are providing the best service to the engineering students regarding the projects communication based projects

    ReplyDelete

Spring Framework Importants

Spring Framework Important Spring Bean Scopes: Singleton - create a single instance of the bean Prototype - create a new bean for each conta...