Spring @Lookup Method Injection | Bean Scopes | Interview QA | JavaTechie

preview_player
Показать описание
This tutorial will explain you to understand how can you inject prototype bean into singleton bean in spring using @Lookup method injection

Spring boot microservice course Offer will close soon so Hurry-up & Register today itself!

PROMO CODE : Java40

GitHub:

Blogs:

Facebook:

guys if you like this video please do subscribe now and press the bell icon to not miss any update from Java Techie

Disclaimer/Policy:
--------------------------------
Note : All uploaded content in this channel is mine and its not copied from any community ,
you are free to use source code from above mentioned GitHub account
Рекомендации по теме
Комментарии
Автор

very well explained .Thank you so much for your crystal clear explanation

pavanim
Автор

Very good explanation with appropriate example. Keep it up the good work

puneetgupz
Автор

learning something i didn't know i need to learn, Excelente!

gasparcalix
Автор

So nicely explained. Thanks for posting good contents on your channel.

avinashsakroji
Автор

So good and helpfull. I will wait another awesome video :D

bugrae
Автор

As always you give quality content with explanation

dedeepyaamasa
Автор

Good, Can you cover real usecase for all bean scopes and in which best situation we can use other than default scope?

sahilbhasin
Автор

I have gone through all your angular vedios, but still there are many things which are not clear. It will be really helpful if you start a course to learn from Java script to reactive forms and then finally to angular framework.

PiyushDhanwani
Автор

Pls add this video under Interview QA playlist

midhunnair
Автор

You could add @Lazy on the ObjectFactory ... that should give the effect of @Lookup? pls clarify

dasariravinder
Автор

Hi sir please make a video on singleton design pattern with all scenarios like (cloning, sterilization, thread safe tec.) with proper explanation

Bikash
Автор

Please make a video how to read data from xlsx Or xls and store in mysql Or any db

gourabbanik
Автор

Hi
How can I test a method(let's call it methodA) in which I call a method(let's call it methodB) annotated with @LookUp? Right now I am getting a NullPointerException error when calling methodB inside methodA

artemiiie
Автор

Please share how we can unit test a method making use of @lookup bean

thatoshebe
Автор

If we create 2 UserService, is the hashcode of them still the same after using @Lookup?

pang-ca
Автор

You are amazing. But i have a question for you. How could i set the value of the weather ? Something like this. Inside UseService

public String time) {

return
}

I''m trying but allways i get a null value.

andresflores
Автор

Brother can you please use large font size so mobile users also view your code

swapnilburde
Автор

Hi Basant, One doubt can we use similar approach for call static method from Service bean ? if not how should solve . My findings is we can use App. Context . ?

kunalsharma-zcho
Автор

Sir make one video how to attend your class online from August 1

sushantkumar
Автор

I have taken your courses here i have one doubt if singleton bean inject in to prototype what will happen then

avinashshrivastava