Hi,
I am very new to spring so still learning daily but whilst writing a small test application I have noticed some behaviour that made me wonder whether or not it would be possible for a beans data to be changed by another request whilst in use, on a very busy system of course.
What I noticed is that I wrote a small class has an array list as a private parameter and this array list is returned by a get method. Multiple requests increase the array list, ie it holds its value as I guess only one instance exists.
So what would happen if request A sets a value in a bean and before it reads it request B changes those values?
Thanks


Reply With Quote
