Question about concurrency within a singleton property with request scope
Hi!
I have a question about concurrency in a web application I hope someone could resolve for me.
I have an application with a session destroyed listener X. Inside this listener there is an autowired singleton Y which also has another bean autowired inside it Z.
My question is; if I have Z defined with request scope, when I make a call from X to Y, will it have a new instance of Z with each call or it will just have the same instance again and again?
Thanks in advance!