InterviewSolution
Saved Bookmarks
| 1. |
Are singleton beans thread-safe? |
|
Answer» No, the singleton beans are not thread-safe because the concept of thread-SAFETY essentially deals with the EXECUTION of the program and the singleton is simply a design pattern MEANT for the creation of OBJECTS. Thread safety nature of a BEAN depends on the nature of its implementation. |
|