> >
> I'm also currently trying out hibernate / xdoclet
> and find it is a very 
> promising combination. However, I'm not so sure if
> you can really get 
> rid of value objects (or something similar) in a
> layered architecture. 
> Using value objects can be a good choice if you want
> to cleanly decouple 
> different layers of your architecture . I wonder if
> I should extend my 
> value objects functionality to transparently handle
> lazily loaded 
> relations (uninitialized collection? -> go and
> initialize before 
> accessing it!). Any suggestions?

you do not need to do it. hibernate does it for you
out of the box. - if you transfer your object over the
wire ( serialize / deserialize ) - collection will be
fetched beforehand.  Though you have to be carefull
with object reachability - you may fetch far more than
expected....

So, you do not need value object at all. 

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!?
Yahoo! Search - Find what you�re looking for faster
http://search.yahoo.com


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to