It's not a secret anymore!
The moose likes JSP and the fly likes Tips on java architecture  design Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Tips on java architecture  design" Watch "Tips on java architecture  design" New topic

Tips on java architecture design

Dhananjay Ghanwat

Joined: Dec 23, 2002
Posts: 27
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
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
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 ]

Matthew Phillips
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
Check out this chapter from Professional Java Servlets for more information about web application architecture.
Hope it's useful...
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Nice Chapter Simon . Thanks.

"JavaRanch, where the deer and the Certified play" - David O'Meara
I agree. Here's the link:
subject: Tips on java architecture design
It's not a secret anymore!