Unit 2: Issues of Web Technology (4 HRS.)
Unit 2: Issues of Web Technology (4 HRS.)
• In passive mode, the client sends a PASV command to the server and receives
an IP address and port number in return.
• The client uses these to open the data connection to the server.
• At the condition when the client is behind a firewall and unable to accept
incoming TCP connections, passive mode may be used.
Disadvantages
• Failure of the server causes whole network to be collapsed
• Expensive than P2P, Dedicated powerful servers are needed
• Extra effort are needed for administering and managing the server.
Asian, Prabin Silwal
• Different Models of Client/Server Architecture:
• Client/Sever architecture can be of different model based on the number of layers it
holds. Some of them are;
2-Tier Architecture
• 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 in order to provide part of
the service. It runs the client processes separately from the server processes, usually
on a different computer:
• The client processes provide an interface for the customer, and gather and present
data usually on the customer’s computer. This part of the application is the
presentation layer
• The server processes provide an interface with the data store of the business. This
part of the application is the data layer
• The business logic that validates data, monitors security and permissions, and
performs other business rules can be housed on either the client or the server, or
split between the two.
• Fundamental units of work required to complete the business process
• Business rules can be automated by an application program.
Asian, Prabin Silwal
3-Tier Architecture
In 3-tier architecture, there is an intermediary level, meaning the
architecture is
• generally split up between:
• – A client, i.e. the computer, which requests the resources, equipped with a user
interface (usually a web browser) for presentation purposes
• – The application server (also called middleware), whose task it is to provide the
requested resources, but by calling on another server
• – The data server, which provides the application server with the data it requires