use autowired.
use @Resource.