Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tips on java architecture design

 
Dhananjay Ghanwat
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out this chapter from Professional Java Servlets for more information about web application architecture.
Hope it's useful...
Simon
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nice Chapter Simon . Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic