title: Spring bean creation confusion
body: <p>I am new to spring. I have a confusion in spring beans is it necessary to make bean of all data members of class if not, then which data members should be made beans and which data members should not?
  I shall be thankful. :)</p>