Re: [osuser,propertyset] Propesal for enhancements in osuser / propertyset
Hani Suleiman <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tuesday, July 1, 2003, at 10:00 AM, Konstantin Priblouda wrote: > Serializing bean is not always desirable - so good > compromise is to save bean properties with keys > constructed as common prefix and property name. > > Currently you have save those properties one at a > time > > Currently I use BeanIntrospectorPropertySet to > get all properties which can be handled by > propertyset > from a bean and copy them into real propertyset. Well you could write your own propertyset impl, which doesn't indiscriminately save (I think Mike added a CachePropertySet at some point for this), and another option for handling the split of properties across beans/propertyset is to use an AggregatePropertySet, which combines a bean propertyset + an hibernate/ejb/whatever propertyset. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01