This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line!
See this thread for details.
Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

layers vs tiers  RSS feed

 
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
while reading book Humphrey Sheil i was confused with difference between layers and tiers, if any body can help
 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As per my understanding Tiers are physical separation of system and layers is logical like

We do call Business layer and DAO layer because they are separated on the basis of logic. On the other hand when you talk about tier it will be referred as physical entity like

Presentation Tier>>Logic Tier>>Database Tier
 
JigaR Parekh
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Marut Thanks for reply, i was thinking this before reading SCEA book but after reading i got confused,

In book definition
Tiers

A Tier can be logical or physical organization of components into an ordered chain of service providers and consumers.



Examples : Client, Web, Business, Integration, Resource

Layers

A layer is the hardware and software stack that hosts services within a given tier.



Examples: Application, Virtual Platform (Components), Containers, OS etc.

so it looks like other way around. But not sure.
 
Marut pandey
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read this clears all. I got confused too when read that book, I had to ignore their concept.

http://blogs.msdn.com/jmeier/archive/2008/09/06/layers-and-tiers.aspx
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think this terminology is left-over from Sun's Suntone architecture. In this concept, Sun organized a design on three dimensions: Layers, Tiers, and Systemic Qualities.

Systemic qualities are the non-functional requirements, such as the big seven topics tested on the SCEA exam: scalability, maintainability, reliability, availability, extensibility, performance, manageability, and security.

Tiers are major logical and physical components through which processing passes, such as client, web server, app server, database, etc.

Layers are design components grouped by level of abstraction. The bottom layer might be hardware. The operating system might be a layer on hardware. Sharable libraries might be a layer on that, then the app server on that, then EJBs on top.
 
JigaR Parekh
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Keith, now i am much more clear with tiers and layers,
just one question any example of logical tiers as i understand client, web server, app server, database are physical tiers.
 
Keith Rieck
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, a full JEE5 app server would contain a servlet container and also an EJB container. Physically they'll be in the same box, but it may be useful to consider them separate tiers.

There's no official list of tiers, so you can decompose your design in any way that would be useful. Maybe it's important for a design to have a cache between the application code and the database. It might be useful to consider the cache as a separate tier, whose physical location is determined later.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!