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

    Dukes Book example Cart synchronized

    829740
      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?
      Thanks