title: Spring vs Java reflection
body: <p>I need to create objects dynamically. I use Spring to create a map of class names. Now I can use </p>
  
  <p>Spring <code>ApplicationContext.getbean(className)</code> </p>
  
  <p>or </p>
  
  <p>Java <code>Class.forName(className).newInstance()</code>. </p>
  
  <p>Which method is more efficient? </p>
  
  <p>Thanks you.</p>