I'm using the (slightly dated) links below as a guide to learning and understanding proper use of DAOs in my web apps.
http://balusc.blogspot.com/2008/07/dao-tutorial-data-layer.html
http://balusc.blogspot.com/2008/07/dao-tutorial-use-in-jspservlet.html
Generally speaking, is it correct to initialize a DAO in the INIT() method of a Servlet, and then pass that DAO to the model ? Or should the DAO be more tightly integrated in the Model, or perhaps a part of the Model ? That is... is there a better way for the Model to acquire a tailored DAO ?
Admittedly I'm stretching my knowledge of the subject here, so if I've worded this poorly I apologize. Enlightenment is always welcome.