Go to http://java.sun.com/j2ee/blueprints/
to begin your research. Download, examine and install the Java PetStore sample
application. It is founded on the concept of DAOs.
1) DAOs are plain java classes. They
isolate DB connectivity from the rest of your design.
2) Any additional Finder fu
Prashant
1. A DAO is used to do BMP, and is a regular Java class.
Instead coding JDBC calls directly in your EJB (find, create, store,
remove), you put them in a DAO which you call from your EJB.
2. A DAO can contain multiple SQL statements, including various SELECT,
INSERT, UPDATE, DELETE.
For