title: Create an Object instance from a Map
body: <p>I have a map with keys and string values.<br>
  This Map has been built reading a resource bundle where the data is organised in the following way:</p>
  
  <pre><code>height=160
  weight=80
  name=bob
  </code></pre>
  
  <p>And I have a class Person which has the fields: height, weight and name.</p>
  
  <pre><code>class Person{
   int height;
   int weight;
   String name;
   //..getter and setter..
  }
  </code></pre>
  
  <p>I would like to create an instance of the class Person from the Map: height:160, weight:80, name:bob
  The best would be a generic solution, or something that uses some utilities.</p>
  
  <p>Do you have any idea? how can I do that in Java? or using the framework Spring?</p>