Why we are putting bean as signlton? there is no any concurrency issue occur ?
How we prevent
Why we are putting bean as signlton? there is no any concurrency issue occur ?
How we prevent
It's up to you to make sure the singleton is thread safe. If it's not, then a singleton is probably not a good idea.