3 Tier Client/Server Architecture

Most sophisticated Web based applications which involve data entry are based on a 3 tier client server architecture. The 3 tiers are

Data validation can happen in any or all of these 3 tiers depending on the needs of the application. There are pros and cons to validating data in each tier as described in the following sections.

The Client

The client is the Web browser that runs at the Users PC or Workstation. Validating data input at the Client provides the most immediate feedback to the User and is the main focus of this project. JavaScripts, Java Applets and ActiveX controls are client side components which can be used to accomplish this validation.

Advantages:

Disadvantages:

The Web/Application Server

The center tier in the architecture is the Web/Application server. This includes the Web Server and the application specific code that gets executed by the Web server. This could execute in the same process through vendor specific interfaces or in separate processes via CGI. So the application server can be in many forms including Perl scripts, Java programs, C/C++ programs, active server pages, etc. In fact, it could be a combination of these things.

Advantages:

Disadvantages:

The Database Server

The 3rd tier is the Database Server which is usually located on a different system than the Web/Application server. This is because the data is often used my more than one application or process. Even if it is located on the same system, it is still an architecturally separate tier. Typical database servers used today are Microsoft's SQL Server, Oracle, DB2, Sybase, etc.

Advantages:

Disadvantages:

Previous Module Return to Project Main Page Next Module