How to organize?

I've been charged with re-developing a pretty large retail site however, I'm having a little difficulty.

We have products - let's say CD, DVD, Game -, now most of these products are supplied by the company - let's say myshop -, but we have one case where they're supplied by a third party - let's say abcorp - and stored in a seperate database. How to represent this is where the difficulty arrises. I don't want to create seperate classes for each combination (myshopCD, abcorpCD etc.) but at the same time I can't just use a factory method because they differ in more than just object creation (retrieval from the database), they also have unique ways of being inserted into the database and being updated in the database. I was looking at the Strategy pattern and thought it might work but I couldn't figure out how.

Any ideas would be helpfull.

If you need some more info or if I've explained anything badly please let me know.

Cheers

Rob

[989 byte] By [bubblenut2a] at [2007-10-2 5:51:55]
# 1
What does "large" mean?And "represent" it how?Any why don't you want seperate classes? Because you know that is a bad idea or because you simply don't want to type the code?
jschella at 2007-7-16 2:01:33 > top of Java-index,Other Topics,Patterns & OO Design...