commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juozas Baliuka" <>
Subject Re: [lang] Proposal for *NEXT* version
Date Mon, 07 Oct 2002 09:05:09 GMT

> The DynaBean abstraction (in BeanUtils today) lets you "synthesize" beans
> with a dynamic set of properties -- although only PropertyUtils knows how
> to do property get/set calls transparently for you.  In Struts, for
> example, we take an XML-ized version of a description like your Person
> declaration above:
>   <form-bean name="Person">
>     <form-property name="surname" type="java.lang.String"/>
>     <form-property name="age" type="int"/>
>   </form-bean>

 We can implement some method like
 Class cls = BeanUtils.getBeanClass( descriptors, classLoader );
I can take this task, if somebody thinks it is usefull for frameworks like
It must be trivial to implement using BCEL.

> and construct a form bean that Struts uses to capture the incoming data
> from an HTTP request, without having to manually create a new class.  Does
> this address some of the needs that lead you down this path?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message