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.


As an Amazon Associate I earn from qualifying purchases.

My favorite quotations..


“A man should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.”  by Robert A. Heinlein

"We are but habits and memories we chose to carry along." ~ Uki D. Lucas


Popular Recent Articles