Tricentis Tosca 16.0 Released on Feb-2023 ----- UFT has been upgraded from UFT 15.0.1 to UFT One 15.0.2, Beginning at November 2020.

Wednesday, 10 June 2015

Difference between 1-tier, 2-tier and 3-tier

Two-Tier Architecture:
The two-tier architecture is like client server application. The direct communication takes place between client and server. There is no intermediate between client and server.
1.gif
The above figure shows the architecture of two-tier. Here the communication is one to one. Let us see the concept of two tier with real time application. For example now we have a need to save the employee details in database. The two tiers of two-tier architecture is
  1. Database (Data tier)
  2. Client Application (Client tier)
So, in client application the client writes the program for saving the record in SQL Server and thereby saving the data in the database.
Advantages:
  1. Understanding and maintenances is easier.
Disadvantages:
  1. Performance will be reduced when there are more users.
Three-Tier Architecture:
Three tier architecture having three layers. They are 
  1. Client layer
  2. Business layer
  3. Data layer
Client layer: Here we design the form using textbox, label etc.
Business layer: It is the intermediate layer which has the functions for client layer and it is used to make communication faster between client and data layer. It provides the business processes logic and the data access.
Data layer: it has the database.
2.gif
Advantages
  1. Easy to modify with out affecting other modules
  2. Fast communication
  3. Performance will be good in three tier architecture.