my dog learned polymorphism*
The moose likes EJB and other Java EE Technologies and the fly likes N-tier architecture Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "N-tier architecture" Watch "N-tier architecture" New topic
Author

N-tier architecture

Kumar Vinay
Greenhorn

Joined: Sep 29, 2000
Posts: 23
Hi folks
What is n-tier architecture.
bye
Vinay
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Originally posted by Kumar Vinay:
Hi folks
What is n-tier architecture.
bye
Vinay

You know traditional client-server applications? "Fat" client applications on one side talking to a database server on the other? That's two-tier. Logic and presentation are inextricably tied up in the client application. This makes it difficult to change or enhance it.
In practice, anything more sophisticated than this is called n-tier, whether justified or not.
Specifically, in a J2EE context, an n-tier architecture means that the application layer has been split up in a thin client for the presentation (either a web browser driven by JSPs, or a Java application) talking to an application server with EJBs for the business logic. Which in turn talks to the database server.
That's three tiers; some people split their functionality up even further; all these schemes are called n-tier.
All rather simplified.
Peter
 
wood burning stoves
 
subject: N-tier architecture