service, dao template