Introduction To Middleware Technologies
Introduction To Middleware Technologies
Introduction to
Middleware Technologies
What is Middleware?
General Middleware
Service Specific Middleware
Client/Server Building blocks
RPC
Messaging
Peer to Peer
Java RMI.
BHUSHAN JADHAV
What is Middleware?
v Middleware is software that runs between client and
server processes. It is the "glue" between the client and
server, which makes it possible for them to
communicate to each other. Middleware is written in
such a way that the user never notices it's presence.
v It delivers secure and transparant services to users.
v It is used most often to support complex, distributed
applications.
v It includes web servers, application servers, content
management systems, and similar tools that support
application development and delivery.
v Middleware is especially integral to modern information
technology based on XML,SOAP, Web services,
and service-oriented architectur
BHUSHAN JADHAV
Remote Data Access (RDA), which implements a RDA protocol for sending
data manipulation language statements to an appropriate database server
for processing and transporting the result back to the invoking process.
Remote procedure calls (RPCs). RPC is used in most network operating
system services.
Message-oriented middleware (MOM). MOM can be used as a mechanism
for storing and forwarding messages queuing.It can be used when client
and server processes communicate asynchronously.
Object Request Brokers(ORBs). A standard implementation of the ORB
standard is CORBA. ORB makes it possible to invoke a remote object by
allowing a source object to send a message to that remote object.
Distributed transaction processing (DTP). This type of mechanism use
execution semantics to interact between the client and the server.
It starts with the API set on the client side that is used to invoke a
service, and it covers the transmission of the request over the
network and the resulting response.
Middleware divided into two broad classes:
(a) General Middleware
(b) Service-Specific Middleware
BHUSHAN JADHAV
General Middleware
It is the substrate for most client/server interactions
It includes the communication stacks, distributed
directories, authentication stacks, distributed directories,
authentication services, network time, remote procedure
calls, and queuing services.
Products that fall into the general middleware category
include DCE, ONC+, NetWare, NamedPipes, LAN
Server, LAN Manager, Vines, TCP/IP, APPC and
NetBIOS.
DCE is an example of Generic middleware.
BHUSHAN JADHAV
Service-Specific Middleware
It is need to accomplish a particular client/server type of
service.
This includes
Database middleware such as ODBC, DRDA, EDA/SQL,
SAG/CLI and Oracle Glue.
OLTP-specific middleware such as Tuxedos ATMI and /WS,
Encinas Transactional RPC, and X/Opens TxRPC and XATMI
Groupware-specific middleware such as MAPI, VIM, VIC,
SMTP and Lotus Notes Calls
Object-specific middleware such as OMGs CORBA and
Microsofts Network OLE (or DCOM)
Internet-specific middleware such as HTTP, S-HTTP and SSL
System Management-specific middleware such as SNMP,
CMIP and ORBs.
BHUSHAN JADHAV
Client/Server Middleware
The Building Blocks of Client/Server are
1).Client
2).MiddleWare(/)"slash",which ties the client to the server
3).Server
BHUSHAN JADHAV
Server-to-server Middleware
BHUSHAN JADHAV
10
Server-to-server Middleware
Server-to-server interactions are usually client/server in
nature servers are clients to other servers.
However, some server-to-server interactions require
specialized server middleware. For example, Two-Phase
commit protocol may be used to coordinate a transaction
that executes on multiple servers.
Servers on mail backbone will use special server-toserver middleware for doing store-and-forward type
messaging.
But most modern software follows the client/server
paradigm.
BHUSHAN JADHAV
11
BHUSHAN JADHAV
12
BHUSHAN JADHAV
13
14
BHUSHAN JADHAV
15
BHUSHAN JADHAV
16
BHUSHAN JADHAV
17
RPC MODEL
BHUSHAN JADHAV
18
Message-oriented middleware
Message Oriented Middleware or MOM-based middleware,
which allows distributed applications to communicate and
exchange data by sending and receiving messages.
Message-oriented middleware (MOM) is infrastructure
focused on sending and receiving messages that increases
the interoperability, portability, and flexibility of an
application by allowing the application to be distributed over
heterogeneous platforms. It reduces the complexity of
developing applications that span multiple operating
systems and network protocols by insulating the application
developer from the details of the various operating system
and network interfaces. API's that extend across diverse
platforms and networks are typically provided by MOM
BHUSHAN JADHAV
19
Message-Oriented middleware
Asynchronous forms of interaction
Communication by exchanging messages
More dynamic than RPC and Sockets
BHUSHAN JADHAV
20
Message-Queues
Client Application
Server Application
queued
messages
queue
MOM Core
BHUSHAN JADHAV
21
Message-Oriented middleware
Using a MOM system, a client makes an API call to send a message to a
destination managed by the provider. The call invokes provider services to route
and deliver the message. Once it has sent the message, the client can continue to
do other work, confident that the provider retains the message until a receiving
client retrieves it. The message-based model, coupled with the mediation of the
provider, makes it possible to create a system of loosely-coupled components.
Such a system can continue to function reliably, without downtime, even when
individual components or connections fail.
The basic elements of a MOM system are clients, messages, and the MOM
provider, which includes an API and administrative tools. The MOM provider uses
different architectures to route and deliver messages
BHUSHAN JADHAV
22
Message-Oriented middleware
BHUSHAN JADHAV
23
BHUSHAN JADHAV
24
Message-Oriented middleware
Advantages
Most MOM systems provide persistent storage to back up the message
transfer medium. This means that the sender and receiver do not need to
connect to the network at the same time (asynchronous delivery).
MOM delivers another important advantage through its ability to route
messages within the middleware layer itself.
BHUSHAN JADHAV
25
Message-Oriented middleware
Disadvantages
The primary disadvantage of many message oriented middleware systems is
that they require an extra component in the architecture, the message transfer
agent (Message broker). As with any system, adding another component can
lead to reductions in performance and reliability, and can also make the system
as a whole more difficult and expensive to maintain.
Lack of standards
The lack of standards governing the use of message oriented middleware has
caused problems. All the major vendors have their own implementations, each
with its own application programming interface (API) and management tools.
BHUSHAN JADHAV
26
BHUSHAN JADHAV
27
BHUSHAN JADHAV
28
ANY QUESTION
BHUSHAN JADHAV
29
THANK
YOU
BHUSHAN JADHAV
30