The Wayback Machine - https://web.archive.org/web/20240726141329/https://www.geeksforgeeks.org/what-are-the-two-broad-classes-of-middleware-in-client-server-environment/
Open In App

What are the Two Broad Classes of Middleware in Client Server Environment?

Last Updated : 30 Nov, 2021
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report

Server: A server is a computer program that provides services, data, information to other computer programs.

Client: A client is a host computer, requests services or information from the server. the client is also called a user. In a computer system, a client is a computer program that asks something from the server and the server gives the information back to the client computer.  

Middleware: It is software that helps to connect the operating system and applications. Or it is software that runs between client and server processes. Generally, this software is written in such a way that the user never notices the presence of middleware. It also helps in delivering secure and transparent services to users.

Types of Middleware Services:

The different types of middleware services are RDA, RPC, and MOM.

  • RDA: Remote Data Access(RDA), which implements an RDA protocol for sending data manipulation language statements to an appropriate database server for processing and transporting the result back to the invoking process.
  • RPC: Remote procedure calls (RPCs). RPC is used in network operating system services.
  • MOM: Message-oriented middleware(MOM) is used as a mechanism for storing and forwarding message queuing. It helps when client and server processes communicate asynchronously.

Middleware is Useful For

  1. Security
  2. Transaction Management
  3. Message Queues
  4. Application Server
  5. Web Server

Types of Middleware:

  1. Message Oriented Middleware: It is an infrastructure that is helpful in sending and receiving messages over distributed applications / It helps applications to be paid over different platforms and makes the process of creating software applications time many OS and network protocols less complicated.
     
  2. Object-Oriented Middleware: This method is also called an Object request broker. Object Middleware gives applications the ability to send objects and request services through an object-oriented system. Object Middleware main use is to manage the communication between objects.
     
  3. Remote Procedure Call (RPC) Middleware:  RPC is used to perform synchronous or asynchronous interactions between applications by calling procedure remotely and it is utilized within a software application.
     
  4. Database Middleware: It allows direct interaction to access the database. In the market there are many database gateways and connectivity options, we can select anyone based on our requirements. It is one of the common types of middleware that includes SQL database software.

Role of Middleware in a Client-Server Architecture:

Middleware

Middleware

  1. In a client-server architecture, the most important entities are the clients and the browsers. A problem in this client-server architecture is that the client can be heterogeneous. For example, consider, our server is set up for a restaurant management case. In that, the client-side request can come from a mobile application, a web browser, or even from other applications. So our server should handle this by serving the client of different types separately.
  2. Also sometimes the server needs to communicate with other software or entities. In that case to server the data to the client, the server needs to take some help from other applications. This application which helps the server to provide some help is known as middleware. Almost all the client-server architects will be having middleware. In the above example,(restaurant management) the data that the client sends should be stored in the server. For the structured storage and management of that data, we will be using a database. A database management system is another middleware that helps our server to handle the data.
  3. Likewise, there are multiple middlewares that will perform single operations to help the server.

Two broad classes of middleware in the client-server environment:

1. General middleware:

The general middleware is one of the broad classes of middleware in client-server environments that includes the communication stacks, distributed directories, authentication services, network time, RPC, Queuing services along with the network OS extensions such as the distributed file and print services. The print services and distributed file services also come under this category

For Example, The distributed computing environment is an example of general middleware, where a common set of distributed services are available to the application.

The main services provided by distributed computing environment for supporting distributed applications are security services, RPC, time services, IDL compiler, Threading services, Directory service.

2. Service-specific middleware:

The service-specific middleware is another broad class of middleware in a client-server environment that needs to accomplish a particular Client/Server type of services which includes: 

  1. Database-specific middleware: It allows direct access to data structures and provides interaction with the database directly. For example, ORACLE, SQL, ODBC, etc.
  2. OLTP specific middleware: It is a type of transaction scheduling, message queuing where a client connects to middleware and in turn connects to the database back end. For example, RPC, ATMI.
  3. Object-specific middleware: It helps in the reusability and interoperability of distributed objects. For example, CORBA, Microsoft DCOM.
  4. Workflow management middleware: It focuses on the management of activity flow in client or server systems.
  5. Internet-specific middleware:  It is one type of communication middleware consists of tools like HTTP, S-HTTP, and SSL.
  6. Message-oriented middleware: It is used as a mechanism for storing and forwarding message queuing. It helps when client and server processes communicate asynchronously.

Similar Reads

Setting up local DNS server between client-server machines
In this, article you will see the overview of DNS server and how to set up the local DNS server between the client and server machines. And here we will use Wireshark. Let's discuss it one by one. Introduction :A DNS server is computer server that contains a database of public IP addresses and their associated hostname, and in most cases serves to
5 min read
TCP Server-Client implementation in C
Prerequisites - Socket Programming in C/C++, TCP and UDP server using select, UDP Server-Client implementation in C If we are creating a connection between client and server using TCP then it has a few functionalities like, TCP is suited for applications that require high reliability, and transmission time is relatively less critical. It is used by
4 min read
Difference between Client-Server and Peer-to-Peer Network
Client-Server Network: This model are broadly used network model. In Client-Server Network, Clients and server are differentiated, Specific server and clients are present. In Client-Server Network, Centralized server is used to store the data because its management is centralized. In Client-Server Network, Server respond the services which is reque
2 min read
Distributed Objects Computing: The next generation of client-server computing
Software technology is in the midst of a major computational shift towards distributed object computing DOC. Distributed computing is poised for a second client-server revolution, a transition from first generation client-server era to the next generation client-server era. In this new client-server model, servers are plentiful instead of scarce(be
2 min read
Difference between Client /Server and Distributed DBMS
1. Client/Server : Client/server is developed to deal with various computing environments that have a large number of computers and servers connected together via a network. In this architecture, a Client is a user machine which provides the user interface and local processing capabilities. When any client requires additional functionality like dat
2 min read
Difference between Server Side Scripting and Client Side Scripting
1. Client-side scripting : Web browsers execute client-side scripting. It is used when browsers have all code. Source code is used to transfer from webserver to user's computer over the internet and run directly on browsers. It is also used for validations and functionality for user events. It allows for more interactivity. It usually performs seve
3 min read
Simple client/server application in C
Overview :Create a simple client/server application in C using the concept of socket programming. Where server send some message to the client when getting connected. Client : In this section, the term ‘Client’ is defined and its socket workflow is explained in detail, through different functions used to implement the client. An application that ru
4 min read
Difference between Client side filter and Server side filters in Cyber Security
Filters are used to check whether the input entered by user is following the accepted standard or not. Filters are used either in browser (client side filtering) or in server (server side filtering) to validate the input given by the user in web application. 1. Server Side Filters : These are the types of filter checks present in the server. When t
2 min read
Difference Between Server OS and Client OS
Client Operating Systems and Server Operating Systems are two awesome sorts of operating systems designed to serve exclusive purposes inside a computer network surroundings. While each form of working system shares some similarities in phrases of basic functionalities, they're optimized for different use instances and feature particular functions t
7 min read
What is Message Oriented Middleware (MOM)?
The full form of MOM is Message-Oriented Middleware which is an infrastructure that allows communication and exchanges the data (messages). It involves the passing of data between applications using a communication channel that carries self-contained units of information (messages).In a MOM-based communication environment, messages are sent and rec
3 min read
three90RightbarBannerImg