Middleware Basics
-
Upload
varun-arora -
Category
Technology
-
view
6.968 -
download
1
description
Transcript of Middleware Basics
3/2/2008 Varun Arora @ SICSR M.Sc.(CA)2007-’09 1
Middleware
By:
Varun Arora
www.varunarora.in
3/2/2008 Varun Arora @ SICSR M.Sc.(CA)2007-’09 2
Table of Contents
Middleware Use Middleware Types Message Oriented Middleware Advantages Products Architectural Significance
3/2/2008 Varun Arora @ SICSR M.Sc.(CA)2007-’09 3
Middleware - Definition
Middleware is connectivity software that consists of a set of enabling services that allow multiple processes running on one or more machines to interact with each other.
3/2/2008 Varun Arora @ SICSR M.Sc.(CA)2007-’09 4
Middleware – Technical Detail
Middleware services are sets of distributed software that exist between the application and the operating system and network services on a system node in the network.
3/2/2008 Varun Arora @ SICSR M.Sc.(CA)2007-’09 5
Middleware – Use
API
Middleware (Distributed System Services)
PlatformOS
Application Application
Platform interface Platform interface
PlatformOS
3/2/2008 Varun Arora @ SICSR M.Sc.(CA)2007-’09 6
Middleware - Use
Middleware services provide a more functional set of API than OS and network services to allow an application to – Locate transparently across the network,
providing interaction with other application or service
Be independent from network services.
3/2/2008 Varun Arora @ SICSR M.Sc.(CA)2007-’09 7
Middleware - Use
Be reliable and available. Scale-up in capacity without losing function.
3/2/2008 Varun Arora @ SICSR M.Sc.(CA)2007-’09 8
Middleware – Different Forms
Transaction Processing (TP) monitors. Remote Procedure Calls (RPC) Message Oriented Middleware (MOM) Object Request Brokers (ORBs)
3/2/2008 Varun Arora @ SICSR M.Sc.(CA)2007-’09 9
TP Monitors - Demonstration
Client Transaction Type Requests
Database
Processing Routines
Client
Client
Client
Client
Client
TransactionProcessing
Monitor
3/2/2008 Varun Arora @ SICSR M.Sc.(CA)2007-’09 10
RPC - Demonstration
TRANSPORT
NETWORK
NETWORK
TRANSPORT
RPC Stub
RPC Stub
Application
ApplicationServer
Application specificprocedure invocations
and returns
3/2/2008 Varun Arora @ SICSR M.Sc.(CA)2007-’09 11
ORB - Demonstration
Client Application Remote Service(Object)
ORB
Locate service Activate service
communicate
Establishconnection
3/2/2008 Varun Arora @ SICSR M.Sc.(CA)2007-’09 12
Message Oriented Middleware
MOM (Message Oriented Middleware) is a client / server infrastructure which allows the application to be distributed over multiple heterogeneous platforms.
Reduces complexity of applications spanning operating systems and network protocols by insulating them from un-necessary details.
3/2/2008 Varun Arora @ SICSR M.Sc.(CA)2007-’09 13
Message Oriented Middleware Data is exchanged by message passing
and/or message queuing supporting both synchronous and asynchronous interactions between distributed computing processes.
The MOM system ensures message delivery by using reliable queues and by providing the directory, security, and administrative services required to support messaging.
3/2/2008 Varun Arora @ SICSR M.Sc.(CA)2007-’09 14
MOM - Demonstration
Queue
MOM Provider
APPLICATION
MOM
API
TRANSPORT
NETWORK
APPLICATION
MOM
API
TRANSPORT
NETWORK
Message Message
Application A(Client A)
Application B(Client B)
3/2/2008 Varun Arora @ SICSR M.Sc.(CA)2007-’09 15
MOM - Advantages
Asynchronous Flexible Portability Interoperability Reduces Complexity
3/2/2008 Varun Arora @ SICSR M.Sc.(CA)2007-’09 16
MOM - Products
IBM Websphere MQ Series Sonic MQ MS MQ Java Message Queue
3/2/2008 Varun Arora @ SICSR M.Sc.(CA)2007-’09 17
MOM - Architectural SignificanceMainframe
Database
Transaction
J2EE Application
Middle Layer
Listener
Listener
Message
Message
Message
MessageMessage
Process C
Process B
Process A
APPLICATION
1
2 3
4
5 67
8
0
9
C
B
AQ1 Q2
3/2/2008 Varun Arora @ SICSR M.Sc.(CA)2007-’09 18
Queries??
Thank You!!