Re: Struts 2 + Spring 2 + DAO + Hibernate

2007-06-20 Thread hezjing
ot;Struts 2 + Spring 2 + JPA + AJAX" tutorial, we have an annotated quickstart.model.Person class. Do we still require Person class say, if we create a PersonDao? I'm trying to figure out how to implement "Struts 2 + Spring 2 + DAO + Hibernat

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

Struts 2 + Spring 2 + DAO + Hibernate

2007-06-19 Thread hezjing
Hi! What is the difference between a Model object and DAO? In "Struts 2 + Spring 2 + JPA + AJAX" tutorial, we have an annotated quickstart.model.Person class. Do we still require Person class say, if we create a PersonDao? I'm trying to figure out how to implement "Strut