adspace
Answer Posted / Yamuna Kumar Nirala
By default, Spring Beans are not thread-safe. However, you can configure beans to be singleton (single instance per Spring container) to ensure thread safety. If a bean is marked as @Singleton, multiple threads will use the same instance, thus sharing state.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers