Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

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


 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic