This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Tips on java architecture  design" Watch "Tips on java architecture  design" New topic
Author

Tips on java architecture design

Dhananjay Ghanwat
Greenhorn

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
Thanx
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
    
    6
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

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


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Tips on java architecture design
 
Similar Threads
Java EE Experience - how do I get it ?
WAF or JSF in SCEA 5 Part 2
The difference between the term 'architecture' and 'design'
SCEA Vs Togaf/Zachman
Interview question