Re: Struts 2 + Spring 2 + DAO + Hibernate

2007-06-20 Thread hezjing
I found this article very useful: Developing J2EE Applications Using Hibernate Annotations and Spring MVC http://www.developer.com/java/ent/article.php/10933_3577101_1 On 6/19/07, hezjing <[EMAIL PROTECTED]> wrote: Hi! What is the difference between a Model object and DAO? In "Struts 2 + Spr

Re: Struts 2 + Spring 2 + DAO + Hibernate

2007-06-19 Thread Dave Newton
--- hezjing <[EMAIL PROTECTED]> wrote: > What is the difference between a Model object and > DAO? DAOs get models. (Hmm, I think I need a DAO t-shirt now--maybe it'll help.) > Do we still require Person class say, if we create a > PersonDao? Yes. The Person class is the "thing" being represented