Tips on java architecture design

Cna some body help me out in preparing a architecture design. I ma using JSP for presentation an servlet for controlling the flow. Can any one suggest me where do javabeans fit into this. how do i call the objects and use them to perform an database operations Thanx

First, have you taken a look at Struts? It already has the most of the controller logic built for you so that you may concentrate on your business logic. Most of what I have read generally recommends having a layer between your web tier (servlets or actions) and your business tier. Your business tier should be the tier that acesses the database and should be independent of all web related logic. Having a layer between your web tier and you business tier will allow you to develop and maintain each seperately. [ February 14, 2003: Message edited by: Matthew Phillips ]