1 Reply Latest reply on Nov 23, 2011 7:18 PM by DrClap

    Dukes Book example Cart synchronized

      Going 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?