Does anyone know why there is an association between the shopping cart and the customer in cade's diagram?
IMO the shopping cart can/does exist without the customer (the customer only has to logon when he/she wants to process the order..??); Also, the customer does not need to have a reference to the shopping cart.
Only the order-processor needs to know about the shopping cart, and about the customer.
Or is some customer data also stored in the shopping cart? but, I cannot find any prove of this in the other diagrams...
Can somebody explain this?
regards, J [ January 22, 2005: Message edited by: Josep Andreas ]
Becuase without a customer a shopping cart doesnt exist. The association is required becuase eventually a shopping cart belongs to a customer. And if u have the customerId u can retrieve cached shopping carts if need be the case. Dont know how viable that is in a scalable solution though.