title: what are @Repository and @Autowired used for. (Spring)
body: <p>I am learning java for 3 months and sometimes 
  i can not understand the usage purpose of something.</p>
  
  <p>one topic was dependency injection and spring beans i figured out the finally =) </p>
  
  <p>now i confused with the two annotations @Autowired and @Repository.
  First What does Autowiring mean? then 
  Why should i use them and what is the difference between using them and not using?</p>
  
  <p>Also today i tried to use hibernate in a spring mvc project and i had to search for about 15(cause of class not found errors) jar files beacuse of the dependencies of other jar files used in the project. 
  is this had to be this way? this makes learning java very hard for the beginners</p>
  
  <p>thanks...</p>