Beruflich Dokumente
Kultur Dokumente
A client is any process that requests specific services from server processes.
Client and server processes can reside in the same computer or in different computers
connected by a network.
Middleware is the software component that transports the request from the client to
the server and the response from the server to the client. Middleware is also known as
the communications layer and is usually associated with a network.
Business Logic
Organizations implement business rules in order to enforce procedures or standards
within the organization. An example of a business rule would be the following, “a
vice president is allowed to issue a cheque for a half a million dollars or above, only
with approval from the chief executive officer.”
Business rules (also known as business logic) are implemented in software through
programming.
Two-tier Architecture
As the name suggests, two-tier architecture consists of two tiers, one of which is the
client and the other, the server.
1
In two-tier architecture, business logic is stored on each client (also known as a fat
client). If the logic changes, in the example above in the “Business Logic” section,
cheques can now be issued by a vice president for a million dollars or above, if
approval of the chief executive officer is granted, the change has to be made on each
of the clients. If the organization has two hundred clients, the change has to be made
on all two hundred of the clients. The re-programming of the business logic on each
client can be a high-skill activity involving software developers. As a result, two-tier
architecture raises issues of scalability and expense.
Three-tier Architecture
In addition to the client and the server, three-tier architecture involves an additional
middle-tier between the client and the server. The middle tier is an application server
which constitutes business logic. The clients (known as thin clients) as a result have
no business logic, instead each client depends on the application server to provide any
necessary business logic.
Any changes in business logic are only made on the application server, so all clients
are relieved of being re-programmed for business logic. In the above example,
whereby the business logic required a vice-president to get the approval of the chief
executive officer before issuing a cheque for a half a million dollars or above was
changed to a million dollars or above, the change would only need to be made once,
on the middle tier, in the application server if the organization has a three-tier
client/server architecture, relieving the need to re-program the two hundred clients.
Scalability is therefore supported, enabling the organization to add more thin clients,
and at the same time enable clients to access necessary business logic from an
application server.