You are on page 1of 15

Joseph Amrith Rajs

WebSphere & SOA


Library

WebSphere MQ
Basic and Advanced
Training

Chapter 1 : MQ Introduction and Basics

What is Websphere MQ?

IBM WebSphere MQ is a family of network communication


software products launched by IBM. It allows independent and
potentially non-concurrent applications on a distributed
systems to communicate with each other.

A middleware product that implements a messaging and


queuing framework.

Middleware - an intermediate software component that


bridges dissimilar computing environments.
Unix, MVS, OS/400 Tandem, VMS, NT, etc.
SNA, NetBios, TCP/IP
Cobol, C, JAVA

http://websphere.gizapage.com

Messaging and Queueing


Messaging - programs communicate by sending data in
messages rather than by calling each other directly.
Queuing - messages are put on queues in storage, eliminating
the need for programs to be logically connected.
A
messaging
and queuing
framework
is inherently
ASYNCHRONOUS!
Messaging means that programs communicate by sending each
other messages (data), rather than by calling each other
directly.
Queuing means that the messages are placed on queues in
storage, so that programs can run independently of each other,
at different speeds and times, in different locations, and
without having a logical connection between them.

http://websphere.gizapage.com

Asynchronous vs. Synchronous Communications

Synchronous: App sends request, then blocks until


request is processed.
Requires service available at EXACTLY same time
as client needs service.
Asynchronous: App sends request and checks at some
future time if complete.
Service need not be available when client sends
request

http://websphere.gizapage.com

Synchronous: Adv/DisAdv

http://websphere.gizapage.com

Asynchronous: Adv/DisAdv

http://websphere.gizapage.com

Messaging Advantages
Messaging vs. Procedure Calls
As programmers, many of us think procedurally, so using
procedures is natural extension of how we think.
Messages are an abstract concept: harder for us to conceptualize
relationship between actions and messages!
We are free to concentrate on the design of the application itself.
We are no longer concerned with details of the environment.
Our application is suddenly portable and to some degree,
extensible.

http://websphere.gizapage.com

How Messaging &Queuing Works

http://websphere.gizapage.com

http://websphere.gizapage.com

Messaging and Queuing Characteristics


Three key facts about Messaging and Queuing differentiate it
from other communication styles:
1) Communicating programs can run at different times.
2) There are no constraints on application structure.
3) Programs are insulated from environmental differences.

http://websphere.gizapage.com

http://websphere.gizapage.com

http://websphere.gizapage.com

Applications Shielded
from Environmental
Differences
Dont care what OS is
used.
Dont care what
language theyre written
in
Dont care what the
underlying
communication protocol
is used.

http://websphere.gizapage.com

Keep Tracking
Subscribe to the blog to get emails whenever a new topic is
published.
Also you can keep in tough using these options:

Website: http://websphere.gizapage.com
Twitter: http://twitter.com/NodeAgent
FaceBook: http://facebook.com/NodeAgent
YouTube: http://youtube.com/NodeAgent
Digg: http://digg.com/NodeAgent
Friendfeed: http://friendfeed.com/NodeAgent
Delicious: http://delicious.com/NodeAgent
SlideShare: http://slideshare.net/NodeAgent

Dont forget to tweet, digg, share and bookmark

Joseph Amrith Raj's WebSphere & SOA Library

Thank You

http://websphere.gizapage.com

You might also like