<snip>
> 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
Struts.
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?


<snip>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to