July 2016
Intermediate to advanced
490 pages
10h 54m
English
The Student Management Portal (SMP) has packages under the DAO layer, namely the org.packt.academic.student.portal.dao and
org.packt.academic.student.portal.dao.impl. To maintain loosely-coupled architecture, it would be best to first write the interface for all the DAO classes before their implementation. All of the four implementations follow the same interface blueprint. For instance, the ApplicationDao, which contains all database operations for the student application module, has the following DAO interface:
public interface ApplicationDao { public void setPendingApp(Application application); public List<Application> getPendingApp(); public Application getPending(Integer regId); public void setRegister(Application ...Read now
Unlock full access