I was studying the package java.util.concurrent of Java and the following question came to my mind: When using the Spring Framework, should I worry about multi thread scenarios?
For example,I have an API based on Spring Boot. One of my rest services updates an ArrayList. However ArrayList is not thread safe, which could lead to inconsistent data. However, I'm using Spring Framework.
The question is: Do I have to change my current ArrayList to one of the Concurrent Collections of java OR Spring Framework itself is thread-safe and I should not be worried about multi thread scenarios?