Unit 2 Middleware

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 13

Unit 2

Middleware
Introduction to Middleware
• Middleware is software that acts as an intermediary, connecting
different software applications or components.
• It facilitates communication and data exchange between different
systems, enabling them to work together seamlessly.
• Middleware is supposed to hide remote-ness and concurrency by
hiding distribution behind local programming language constructs.
Role of Middleware
• Integration: Facilitates integration of diverse software applications,
databases, and systems.
• Communication: Enables communication between distributed
systems in a standardized way.
• Abstraction: Provides abstraction layers, hiding complexity and
allowing developers to focus on business logic.
Examples of Middleware
• Message Brokers: Such as Apache Kafka, RabbitMQ.
• Application Servers: Like Apache Tomcat, JBoss.
• Object Request Brokers (ORBs): Examples include Microsoft's DCOM,
CORBA.
RMI(Remote Method Invocation)
• Remote Method Invocation (RMI) is an application programming
interface (API) in the Java programming language and development
environment.
• It allows objects on one computer or Java Virtual Machine (JVM) to
interact with objects running on a different JVM in a distributed
network.
CORBA
• Common Object Request Broker Architecture
• CORBA could be a specification of a regular design for middleware. It
is a client-server software development model.
• Using a CORBA implementation, a shopper will transparently invoke a
way on a server object, which may air a similar machine or across a
network.
• The middleware takes the decision, associated is to blame for finding
an object that will implement the request, passing it the parameters,
invoking its methodology, and returning the results of the invocation.
CORBA Model
Types of Middleware
• Message-Oriented Middleware (MOM): Facilitates communication
through messages, e.g., JMS.
• Intelligent Middleware: Adapts and optimizes based on context and
learning, enhancing efficiency.
• Content-Centric Middleware: Focuses on managing and delivering
content efficiently.
Middleware Protocol
DCE(Distributed Computing Environment)
• DCE is a set of specifications and technologies developed by the Open
Software Foundation (OSF) to facilitate distributed computing.
• Aims to enable the development and deployment of distributed
applications in a networked environment.
• Key Components:
1. RPC (Remote Procedure Call): Forms the basis for communication
between distributed components.
2. Security Services: Provides authentication, authorization, and encryption.
3. Directory Services: Facilitates the management and access of distributed
resources.
4. Time Services: Ensures synchronization across distributed systems.
DCE Architechture
Thank You

You might also like