Upload
ken-johnson
View
640
Download
0
Embed Size (px)
DESCRIPTION
This is one section of a five section training module. The slides skim some features of JMS. The other sections cover security and the JAAS and JACI API specifications. I have removed the maker's name, copyright and proprietary information and proprietary slide design. I added subtitles because sound doesn't work on Slideshare.
Citation preview
Prodco
Recapitulation of the basics of the JMS server
Main features of the JMS server
Prodco
Recapitulation of the basics of the JMS server
Main features of the JMS server
The purpose of this section is to remind you of the main features of the Prodco JMS server.
Prodco
Hub and spoke network
A corporate integrated system is a number of separate applications like data bases, process engines etc.
Prodco
Hub and spoke network
Together these different applications work on the company’s business processes.
Prodco
Hub and spoke network
They co-ordinate their activities by exchanging messages.The Prodco JMS server is a means of exchanging messages.
Prodco
The server is the hub
Server
The JMS server is at the centre of the network. The server receives and distributes messages.
Prodco
Each client is a spoke
Client
Server
Applications which send and receive messages are clients of the JMS server.
Prodco
Each client is a spoke
Client
Server
Clients connect to the JMS server using the TCP protocol.
Prodco
Queues
Queue
When one or more applications send messages to one particular application, they put the messages on a queue.
Prodco
A queue
Manufacturing Servicing
Facilities
ACME.PURCHASEORDER.REQUEST
Audit and print purchase orders
EMS server
This queue takes requests for purchase orders from all over the business to an application that prints purchase orders.
Prodco
Topics
Queue Topic
The other sort of messaging uses a topic. A topic is like a broadcast: it conveys each message to several consumers.
Prodco
Durable subscriptions
Queue Topic
If an application needs to receive messages that were sent on the topic while the application was disconnected…
Prodco
Durable subscriptions
Queue Topic
…the application can create a durable subscription, and the server will hold messages for it while it is unavailable.
Prodco
A topic
ACME.ORDER.NEW
EMS server
Mail handling Website
Credit check Inventory check
Call centre
Production planning
In this example orders arrive from various sources and the topic carries the orders to various applications.
Prodco
Review
JMS is an API specification fromSun Micro Systems
JMS messaging is a hub and spoke designThe JMS server is at the hub
Clients are the spokesJMS offers two types of message sending
Point to point with queuesBroadcast with topics