--- David Ward <[EMAIL PROTECTED]> wrote:
> The xdoclet dataObjects are not new; in fact, they
> are the old way that has been
> replaced with valueObjects.  However, to the best of
> my knowledge, noone has
> updated the xdoclet facade stuff to use
> valueObjects.  Maybe because of
> backward-compatability?  Not sure... Maybe there
> should be an attribute that
> allows one to specify dataObjects or valueObjects
> for the generated facade(s).
> 
> Personally, I would LOVE to be able to use xdoclet
> valueObjects in my
> xdocletFacades!!!!  It would make things so much
> easier and complete.

It was not updated, it was designed ( by me ) to be
used with data objects. 

Value objects constitute a problem - there could be
more than one. So facade generation has to decide
which one to use.

So there is a big question -  how do you like this
problem to be solved? 

- one facade per value object ( do not like this idea,
  ejb suffers from too many classes )
- shitload of methods  in single facade determining
  what value object to use
- generate functors ( maybe as inner classes of the  
  facade ) to strip specific  value objects off 
  collection and pass them for every invocation
  (would work nice for collections, because result is 
  untyped, but what shall be done  with  single object
  
  finders? )


I never developed support for value objects, because
they major advantage was CMR support, but personally I

find  that CMR is really confusing - that's why I 
moved to use hibernate instead of Entity beans...
( IMHO it has a lot of advantages over Entity beans...
)
regards,

=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Zu Verstärkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] für die Festanstellung. 
Arbeitsort: Mainz 
Skills:  Programieren, Kentnisse in OpenSource-Bereich
----[ http://www.pribluda.de ]------------------------

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to