Is Singleton bean thread safe?

Oliver Scott | 2023-05-05 04:46:33 | page views:1067
I'll answer
Earn 20 gold coins for an accepted answer.20 Earn 20 gold coins for an accepted answer.
40more

Owen Martinez

Works at FinTech Innovations, Lives in Frankfurt, Germany.
Spring singleton beans are NOT thread-safe just because Spring instantiates them. Sorry. Spring just manage the life cycle of singleton bean and maintains single instance of object. Thread safety has nothing to do with it.
2023-05-10 04:46:33

Henry Morgan

QuesHub.com delivers expert answers and knowledge to you.
Spring singleton beans are NOT thread-safe just because Spring instantiates them. Sorry. Spring just manage the life cycle of singleton bean and maintains single instance of object. Thread safety has nothing to do with it.
ask:3,asku:1,askr:137,askz:21,askd:152,RedisW:0askR:3,askD:0 mz:hit,askU:0,askT:0askA:4