Decoding Spring Bean scopes | Hands-On | Spring interview questions and answers for experienced
Автор: Selenium Express
Загружено: 2020-12-02
Просмотров: 70288
In this video, we will talk about spring bean scopes. This is one of the hot topics for the spring interview as well. So today, I will give you an in-depth deep dive on the 6 different bean scopes that we have.
We will explore various beans scopes like singleton, prototype, request, session, application, and WebSocket. Not only I will tell you about the uses of it, but also I will make you familiar with various spring interview questions.
This bean scope in the spring framework tutorial also covers a comparison between various scopes.
For example:
Singleton vs Prototype scope,
Request vs Session scope,
Request Vs Prototype scope and,
Singleton vs Application scope.
Note that these scopes comparison questions are popular spring interview questions both in the freshers and experienced category.
Prerequisite :
[ spring framework tutorial for beginners with examples ]
Spring Core basics :
• Spring framework tutorial for beginners wi...
Spring MVC basics :
• Spring MVC course introduction || Understa...
Spring MVC Java-based configuration :
• Spring MVC Java Based Configuration || Gam...
Course contents :
spring bean scopes
Video Map: ⏱️TIMESTAMPS⏱️
Introduction: 00:00:00
[ The default scope of the bean ]
Singleton scoped bean: 00:10:16
Introducing @Scope spring annotation: 00:19:04
How to define Singleton scoped bean [Animations]: 00:20:15
Prototype scoped bean[example]: 00:21:53
[When to use singleton and prototype scope in spring]
Singleton vs prototype tricky question: 00:30:51
Bean Initialization (Singleton vs Prototype): 00:38:52
Injecting prototype bean inside a singleton bean: 00:47:00
singleton bean with prototype dependencies: 00:49:36
Injecting prototype scoped bean inside a singleton scoped bean Problem: 00:51:30
spring aop scoped proxy: 00:58:34
Introducing Spring CGLIB/ Proxy: 01:06:30
Singleton Scoped bean Vs GOF singleton design pattern: 01:26:40
singleton scope vs singleton pattern (Interview FAQ ): 01:37:30
@LookUp walkthrough: 01:13:37
lookup (abstract) method injection in spring: 01:20:00
@LookUp annotation homework/ Assignment : 01:25:53
Spring web-aware bean scopes: 01:38:29
Spring bean scope Assignment 02- 01:42:24
[Request scope in spring]
Request bean scope: 01:43:29
The standard way to define request scope: 02:10:29
Session bean scope: 02:11:50
Request Vs Prototype scoped bean: 02:19:29
Application scope theory: 02:25:39
Application scoped bean example: 02:41:32
Websocket bean scope: 03:14:29
This topic is popular for the “ spring interview questions and answers for experienced " and "spring interview questions and answers for freshers“ category. Make sure to explore every scenario that I have covered in this video. Make sure these are the same bean scopes that we use in spring boot as well.
#SpringBeanScopes #SpringFramework #SpringInterview
===================
For more courses visit
https://www.seleniumexpress.com
Any time you are getting stuck with issues, Feel free to ask for support.
You can send mail to seleniumexpress@gmail.com
you can ping me on my Facebook page.
/ seleniumexpress
Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"
/ 187000222361579
you can ask for support in my website forum
https://www.seleniumexpress.com
Subscribe to my youtube channel
/ @seleniumexpress
Follow me on Insta
/ selenium_express
Music :
-----------
credits: -
(channel intro)
Adventures by A Himitsu / a-himitsu
Creative Commons — Attribution 3.0 Unported— CC BY 3.0
http://creativecommons.org/licenses/b...
Music released by Argofox • A Himitsu - Adventures [Royalty Free Music]
Music provided by Audio Library • Adventures – A Himitsu (No Copyright Music)
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: