commons-dev mailing list archives

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

<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:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message