• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tier Architecture

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have doubt regarding Architecuter.Below have mentioned the my understanding plz confirm,are they correct or not then plz correct the same or provide the link to know..

We have 4 layers in java enterprize application :
1. Presentation layer(jsp,html) 2.business layer(java class) 3.Data Access Layer/Persistence layer 4. Data Layer(Oracle)

Doubt :-

1. 1-tier means : if all of 4 layers are in one system,then it is 1 tier architecture. Like webapplication we develop in localhost in our system to learn.We install webserver and DBserver in our system.
(IS this correct understanding?)

2. 2-tier means: if PL,BL,DAL layers are running on one system but Data Layer (Oracler) running on other system. means we have webserver installed in one system where PL,BL,DAL layers are running and DBserver we have installer in other system. For ex if anybody request for the url then first 1st system (webserver) handles and if required consult with 2nd System (DBserver) and then response.Is it also known as client server architecture.
IS this correct understanding?

3. 3-tier - if PL(jsps,html) is one system(where Webserver is installed) ,BL and DAL layers are in 2nd system (Where applicationServer is installer),and DL layer is in 3 rd system(Where Oracle server is installer). for ex. if request comes Then it goes to 1st system where webserver is installer then 2nd system to 3rd System.
IS this correct understanding?

4. N-tier - if PL(JSps,html) in multiple system (where webserver is installed), BL and DAL layers are in 2nd system, DBserver is in 3rd system, Know as N-tier architecture.
Ex. Don't know please provide

5. Distributed tier achi - if PL is running in multiple system, BL and DAL are running in multiple system and DBserver running on only one system, known as Distribute architecuture.
Ex. Don't know

Please Confirm is it correct understanding ? If not please clearify,so that may have crystal clear understanding..

Thanks
Sandeep pandey
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've never heard of a one tier architecture, but I suppose that is correct.

For a two tier architecture, you have part of it. (the least common approach.) Normally, a two tier architecture is a client/server one where there is a thick client. The thick client has both presentation and business logic.

Technically three tier architecture is a multi-tier architecture. People usually mean more servers than that though which is complex. If you were to split the JSPs and EJBs into separate servers, you'd have four tier. (browser, servlet, EJB and Oracle). That doesn't seem like a good idea though.
 
Hari pandey
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jeanne Boyarsky wrote:I've never heard of a one tier architecture, but I suppose that is correct.

For a two tier architecture, you have part of it. (the least common approach.) Normally, a two tier architecture is a client/server one where there is a thick client. The thick client has both presentation and business logic.

Technically three tier architecture is a multi-tier architecture. People usually mean more servers than that though which is complex. If you were to split the JSPs and EJBs into separate servers, you'd have four tier. (browser, servlet, EJB and Oracle). That doesn't seem like a good idea though.



I appreciate above answer but it doesn't resolve my doubt...hope you understand
 
Bartender
Posts: 3648
16
Android Mac OS X Firefox Browser Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe this article may be some help explaining what n-tier architecture is.
 
Hari pandey
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

K. Tsang wrote:Maybe this article may be some help explaining what n-tier architecture is.



Thanks It helped me....
 
reply
    Bookmark Topic Watch Topic
  • New Topic