make entry dao a spring component.