Hi All,
Any comments?
Hope someone can point me to a direction where I can find some answers.
Thanks
Richard
On 4/5/07, Richard G. Reyes <[EMAIL PROTECTED]> wrote:
Hi All,
Can I get your opinions on how to design or access my nested objects.
To illustrate:
I have objects A, B and C.
public class A {
Set<B> bs = new TreeSet();
}
public class B {
Set<C> cs = new TreeSet();
}
Please note that I'll be using hibernate.
All 3 objects would be entities since they would be member of other
objects as well and both objects B and C are abstract classes.
I think it will be correct to create DAOS for A,B and C. But what I am
not sure is
if its better to create a manager for each or just for obj A. I am
assuming that if I already retrieved A then I will also have the
nested B and C.
Comments please...
TIA!
Richard
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]