6 Replies Latest reply on Oct 29, 2009 2:29 PM by Dan Allen

    Conversion: String to Beans

    bruno viana Newbie

      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.