Hi, Christophe. I have used VO in send/recieve communication with server by use Java Spring. No problem at all, but I still don't try to use custom-define collection class to contain VO. It works well with ArrayCollection <-> List, Array.
Hope it help you. Phattarin --- In [email protected], "b_alen" <[EMAIL PROTECTED]> wrote: > > Sometimes I use Factory for creating VOs, it really depends on the > need. And I use VOs for everything that goes OTW, even if it is a > trivial object. > > > > --- In [email protected], "Christophe Herreman" <lists@> > wrote: > > > > Hi all, > > > > I was wondering how you guys deal with model objects and their > corresponding > > value objects. We have a pretty big domain model with complex nested > classes > > and we need to create value objects from them before sending them to the > > server. Right now we create a factory for each model, that can > create a vo > > from a model and a model from a vo. This works, but it is obviously > a lot of > > work and error prone, so it requires more work to write testcases > for them. > > > > Does anyone have this "problem" too? Are you only sending VO's to > the server > > or do you only do that for complex types and otherwise send the object > > itself? > > > > Input, comments and ideas are welcome. > > > > regards, > > Christophe > > > > -- > > Christophe Herreman > > http://www.herrodius.com > > http://www.pranaframework.org > > >

