On 12/15/05, Hubert Rabago <[EMAIL PROTECTED]> wrote:
>
> I've always used String values.


But that above is the problem - you can't always have String values returned
to you in nested objects from the domain-layer, backend, mid-tier, etc. When
you query the backend for value objects that have nested objects inside of
them, you can be sure those will have all String fields in them. (I guess
you could if you decided to rewrite the whole backend/midtier but that's
just not feasible or a good idea. Why if you already have existing code
working great wtih iBATIS, hibernate, or EJBs should you have to try and
re-write all you POJOs to have String properties included in the objects.
That would be a maintenance nightmare and not even really practical).

So the question is how do you deal with the objects that come to you from
the backend that do not have all String properties and you need to update
them from the front end. I'm yet to see a clean solution for this, but I'm
still on my search:)

--
Rick

Reply via email to