[weld-dev] Conversion: String to Beans

Nicklas Karlsson nickarls at gmail.com
Thu Oct 29 08:19:03 EDT 2009


http://seamframework.org/Community/ConversionStringToBeans

On Wed, Oct 14, 2009 at 9:25 PM, Bruno Viana <bbviana at gmail.com> wrote:
> In a web application, we usually convert the request params from String (or
> String array) to Beans. All web frameworks do that.
> Is string conversion a topic of Web beans spec?
>
> A conversion workflow has usually 3 phases:
> 1 - inspect the property type: String, Date, Number, beans
> 2 - do the conversion: "'1" to 1, "01/01/2009" to Date, etc
> 3 - inject the converted object according the request name: "person.name",
> "person.age", etc
>
> Who would have do this conversion?
>
> Thanks.
>
> _______________________________________________
> weld-dev mailing list
> weld-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/weld-dev
>



-- 
---
Nik


More information about the weld-dev mailing list