A wise old hermit known only as Mathias Bogaert <[EMAIL PROTECTED]> once said:
> Hmmm I cannot seem to understand why value objects was added to > XDoclet. To > me, a 'data object' is the same as a 'value object' and 'bulk accessor'. Value Objects are a finer-grained version of DataObjects. Suppose you have an OrderEJB containing a number of OrderLines as aggregates; sometimes you might want a dataobject that includes them, sometimes not. Or perhaps sometimes you're only interested in the delivery details, sometimes in the invoicing details. With the DataObject you have no choice, it includes everything whether you need it or not. With value object you can have different ones for the different purposes i.e. an OrderInvoicingData, OrderShippingData, OrderWithLinesData etc. > As the docs are not up-to-date yet, could someone send a mail to the > mailinglist explaining these extra 'value objects', because I think it > is confusing. Two reasons they're not documented - firstly, they're still being developed (and were referred to as an alpha version not long ago), and secondly, because I believe the intention is to replace the DataObject task with them once they're finished (with default behaviour to include everything, so it works the same as the existing one). For that reason, I haven't mentioned it in the changes.txt either - basically, it's in there for testing but not really for general use yet. Unless Vincent knows otherwise...? Andrew. _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
