Dukes Book example Cart synchronized
829740Nov 23 2011 — edited Nov 23 2011Going through the Dukes Bookstore examples.
Why are the shopping cart methods synchronized?
If each user only has one session. Then then only access one servlet at a time.
So there is no need to synchronized access to the cart.
That's my thinking, am I wrong, explain it please?
Thanks