Client Server Architecture

 
Ø  Clients are those who request for the services or resources and Server means the resource provider.
Ø  The server host several programs at its end for sharing resources to its clients whenever requested. Client and server can be on the same system or may be in a network.
Ø  Client Server architecture is centralized resource system where Server contains all the resources.
Ø  The server is highly secured and scalable to respond clients. Client/Server Architecture is Service Oriented Architecture that means client service will never be disrupted.
Ø  Client/Server Architecture reduced network traffic by responding to the queries of the clients instead of complete file transfer. It replaced the file server with database server. RDBMS is used by the server to answer client’s request directly.


 

Types of Client Server Architecture :

    1 tier architecture
    2 tier architecture
    3 tier architecture
  

1 tier architecture :

Ø  In this type of client server environment the user interface, business logic & data logic are present in same system. This kind of client server service is cheapest but it is difficult to handle because of data inconsistency that allows repetition of work.

·         2 tier architecture : 
 

Ø  In this type of client server environment user interface is stored at client machine and databases are stored on server. Database logic & business logic are stored at either client or server but it must be unchanged. If Business Logic & Data Logic are stored at client side, it is called fat client thin server architecture. If Business Logic & Data Logic is stored on server, it is called thin client fat server architecture. These kinds of architecture are affordable and comparatively better.

Ø  2-tier architecture is useful where a client talks directly to a server. There is no intervening server. It is typically used in small environments. Here, the user interface is placed at user’s desktop environment and the DBMS services are usually placed in a server. Information processing is split between the user system interface environment and the database management server environment.

                      3 tier architecture:

Ø  In this kind of client server environment an additional middle-ware is used that means client request goes to server through that middle layer and the response of server is firstly accepted by middle-ware then to client.
Ø  This architecture overcomes all the drawbacks of 2-tier architecture and gives best performance. It is costly and easy to handle. The middle-ware stores all the business logic and data access logic. If there are multiple Business Logic & Data Logic, it is called n-tier architecture.
Ø  The purpose of middle-ware is to database staging, queuing, application execution, scheduling etc. middle-ware can be file server, message server, application server, transaction processing monitor etc. It improves flexibility and gives best performance.
Ø  The middle-ware are implemented in different ways such as transaction processing monitors, message servers or application servers. The middle-ware perform several functions like queuing, application execution, database staging. It also adds scheduling and prioritization for work in progress.

No comments:

Post a Comment

=>Advanced Java Programming (J2EE)

1.  Syllabus 2. Unit Wise Question/Material 3. Paper 4. Previous Paper