Latest problem's solution

annotation based dependency by using spring