There have been quite a number of threads about this. Please check the
archives at
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
One of the thread titles is "Forms Beans and DAO (Best Practices)"

Also check the J2EE Design Patterns at
http://developer.java.sun.com/developer/technicalArticles/J2EE/patterns/

Martin Fowlers site is an excellent resource:
http://martinfowler.com/isa/index.html


Chucks book is also a good resource (see Chapter 6)
http://www.theserverside.com/resources/strutsreview.jsp.



robert


> -----Original Message-----
> From: Damien VIEL [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 16, 2002 12:01 PM
> To: Struts Users Mailing List
> Subject: DAO- BO in Struts
>
>
> Hi,
> Can someone explain me "simply" how work  DAO and BO classes in Struts.
> What are their links with the Form object the Action object.
>
> We can take this example :
> First, there is a login page that check from a DataBase if a User (Object)
> can login.
> Then the user enter into the website and add a Product (Object) in a
> HashTable which is a variable of the User object. This product is
> also added
> to the database.
> What are the role of the UserBO.java, UserDAO.java, ProductBO.java,
> ProductDAO.java, User.java, Product.java ?
>
> Thanks
> Dams
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to