I have been tasked with creating a J2EE B2C e-commerce application using EJB2.0...
I'm mulling over design possibilities and I have a question about how I should setup the CMP beans for products w/ the shopping cart bean... Basically the store will carry several different types of items, namely CDs, clothes, and other random items. CDs and clothes have some distinctly different attributes to describe them (i.e. clothes have sizing and color attributes, CDs don't, etc...). It seems natural to have a CMP bean for each type of item that will be sold... When it comes to the shopping cart bean though, it feels like having a different collection for each type of saleable item is bad design... That means that adding new types of products in the future will require changes to the cart as well? That seems like a poor design choice... Do I have other options I'm not thinking of? Thanks, hunter _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
