Could you please elaborate a bit why injection is happening for every method call instead
of only 1 time on the 1st call.
I'm asking because I thought that configuration with xml or with annotations leads to
the same result.
Further, if i declare a request scoped bean I expect it to be there and exactly the same
for the whole life cycle of the request - therefore it would be less preoptimization than
avoidance of unnecessary work.
The only reason i first could have thought of was because of some object caching / pooling
issues but as this has to work for annotation configured stuff too it can't be the
So please elaborate / clarify this a bit.
Thanks in advance
View the original post :
Reply to the post :