February 2015
Intermediate to advanced
178 pages
3h 47m
English
RegistrationService validates the following rules:
RegistrationService should call the database to determine whether a user ID exists or not. We'll create a data access interface for persisting user and to check whether a duplicate user ID is present. Perform the following steps to build the service, create a data access object API, and unit test the service:
RegistrationDao interface in the com.packt.dao package, and add the following methods to check ...Read now
Unlock full access