ServletA:
- retrieves in a query a set of objects (around 2000) and then runs a weight function to choose one object and update it.
- all that is within a trasaction so it'll get an exception if the objects were changed
ServletB:
- each object is being updated every 15 secs by robot clients
So the record set that has been retrieved in ServletA is being updated every 2000/15 = 133 millsec. Will it ever succeed to update the object without interruption?