Em Seg, 2002-02-25 �s 17:06, Marcus Brito escreveu: > I'll try, but things may get complicated as the Data Object may depend > on some interfaces and other interfaces may depend ond this Data Object. > I may get a bizarre dependency scheme and won't be able to simply > compile all interfaces and then all data objects.
I know I'm replying myself, but I felt that a little example to illustrate the situation would be good. If I've got the beans Product, Family and Category. Every product is in a Family and every Family is in a Category. Now I want a Data Object for the Product bean, aggregating the Family Data Object. And I want the Family Data Object to aggregate the Category Data Object, so I can do something like product.getData().getFamily().getCategory().getName(). In this scenario I need to first generate Category interfaces and data object and compile them before I can generate the Family interfaces and Data Object. And I need to do this before I can generate the Product Data Object. And note this is a somewhat simple dependency graph. Things may get *much* worse than this. -- Ja ne, Pazu mailto: [EMAIL PROTECTED] Anime Gaiden: de f�s para f�s, sempre.
signature.asc
Description: This is a digitally signed message part
