I need help understanding the concept behind @Autowired and @Service. I have a DAO defined with @Service and controller with @Autowired and everything seems fine, however, I use the same @Autowired in a different class then it does not work. Example: Service Controller The above all works fine. However, If I want to use MyService in a POJO then it