• 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

Multi-tier architecture

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is not clear to me if the 3-tier/n-tier concepts are related to software architecture, hardware architecture or both.

The wikipedia page starts with

It use "software" word, thus is it speak about software architecture?

But sometimes it seems to speak about hardware, for example

and


What is yours thought?

If I have a classical j2ee application with jsp/servlets (presentation tier) and EJBs (business tier) and I deploy web container and EJB container in the same single app server in the same single physical server, is this 2 tier or 3 tier?
And if I have the RDBMS in the same single physical server too, this is 3, 2 or 1 tier?

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think it is somewhat of both. In your case, you chose to deploy it on server - but your architecture allows it to be deployed to several servers: the web components could go to web server, and EJB components could live on a application server. Usually, in J2EE application, you would also access database, which can live in its own server box, right? So, in classical J2EE architecture you have 3 tiers, even when you choose to collapse some of them for the time being.

Hope that helps,

Henry
 
Massimo Sperossi
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you, you help.

I think the same of you, but I was not sure and want other people confirmations


 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic