Thursday, June 26, 2008

DAO: creating new model

1. Write a model class with annotations.
2. Run hibernate3:hbm2ddl to create database scripts.
3. Write DAO interface.
4. Write jUnit test for DAO and make sure that they fail initially.
5. Implement DAO.
6. Pass jUnit test with all possible inputes to verify that DAO methdod work.