To create GenericDAO framework, like IBM Generic DAO
(Java /Spring/ Hibernate)
is the Object which manages to perform CRUD Operation and other Common
Operations to be done over a ValueObject ( known as Pojo in Java ).
GenericDAO is a reusable DAO class which can be used generically.
In IBM GenericDAO, to add a new DAO, the steps to be done is simply,
- Add a valueobject (pojo).
- Add a hbm.xml mapping file for the valueobject.
- Add the 10-line Spring configuration file for the DAO.
Similarly, in AS3 Project Swiz DAO. We want to attain a similar feet of achievement.
Client Side GenericDAO model:
As we were working on a Client Side language, also we should be managing a persistent object Collection (for every valueObject) .
Added, How it works in Github: DI Mechanism Link