File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Is a web app two-tier or three-tier? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Is a web app two-tier or three-tier?" Watch "Is a web app two-tier or three-tier?" New topic

Is a web app two-tier or three-tier?

Davidsk Liu

Joined: Feb 07, 2013
Posts: 1
Some say a web app is three-tier even if connecting a database directly from JSP or Servlet as the client browser will be the third tier. So the three-tier system is browser-web container-database.
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32819

Welcome to CodeRanch!

A web app is considered three tiers. A good way to remember this is to contrast it with a two tier client/server system. In the two tier model, the client is "thick" and contains business logic.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Is a web app two-tier or three-tier?
It's not a secret anymore!