geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Wilkins <gr...@mortbay.com>
Subject Re: [XML][Deployment]POJO design?
Date Wed, 10 Sep 2003 09:19:46 GMT


Lyndon Samson wrote:
> You could of course just use properties, with overlay accessor classes providing
> particular views and type safety.

The starting point of all this.... was that it was decided that we want POJOs as
the in-memory representation of DDs.  So properties would not meet that requirement.

I'm not the best one to say why we want POJOs - I was happy using DOM :-)

But look for the "parsing XML" discussion last week for the reasoning.


> Just flatten
>   <des>
>         <item>
>                 <val>1</val>
>         </item>
>   </des>
> 
> to
> 
>  des.item.1.val.1=1




Mime
View raw message