- User runs client software to create a query.
- Client connects to the server.
- Client sends the query to the server.
- Server analyzes the query.
- Server computes the results of the query.
- Server sends the results to the client.
- Client presents the results to the user.
2-Tier Model
2-Tier architecture is used to describe client-server systems where the client requests resources and the server responds directly to the request, using its own resources. This means that the server does not call on another application.
3-Tier Model
In 3-tier architecture, there is an intermediary level, meaning the architecture is generally split up between :
A client : which requests the resources, equipped with a user interface for presentation purpose.
The application server (middleware) : whose task is to provide the requested resources by calling on another server.
The data server : which provides the application server with the data it requires.
3-Tier architecture generally contains Presentation Layer (a client), Business Access Layer (middleware) and Data Access Layer (data server).