From: Ronald H. <ro...@co...> - 2004-06-03 21:35:15
|
I'm not sure if I speak out of line, but the complete basis of the spring framework is build around javabeans, so that would explain why there are no dynabeans involved, and frankly, I dont think we need it. The spring is used mostly to configure things and with most configure properties, you are pretty sure what their names will be. Where would you want to use the javabeans for in the spring-rcp using maps? Btw, you can fill maps by using <bean id="whatever" class="mybean.with.maps"> <property name='theMap"> <props> <property key="someKey">somevalue</property> <property key="anotherKey">anothervalue</property> </props> </property> </bean> Cheers Ronald Andy Depue wrote: >I've noticed quite a bit of support in spring-rcp for JavaBeans and properties >(binding things to a property, setting up input rules for a property, etc). >This is great. However, there are times when we work at a more "meta" level >than JavaBeans in a UI. For example, some people use Maps of name/value >pairs instead of JavaBeans, others might use DynaBeans (from Apache), and >others might use service data objects, where you retreive property values via >get(propertyName) or set(propertyName, value) calls. I believe it would be >worth it to keep spring-rcp bean/property access generic enough that it could >be used with any kind of "object with properties" concept, and not tied to >JavaBeans alone. It could be something as simple as some sort of >"PropertyAccessor" interface with a default JavaBeans implementation. > >Thoughts or comments? > > >------------------------------------------------------- >This SF.Net email is sponsored by the new InstallShield X. >>From Windows to Linux, servers to mobile, InstallShield X is the one >installation-authoring solution that does it all. Learn more and >evaluate today! http://www.installshield.com/Dev2Dev/0504 >_______________________________________________ >Springframework-rcp-dev mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-rcp-dev > > |