15
Prodco Recapitulation of the basics of the JMS server Main features of the JMS server

JMS01

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

Page 1: JMS01

Prodco

Recapitulation of the basics of the JMS server

Main features of the JMS server

Page 2: JMS01

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.

Page 3: JMS01

Prodco

Hub and spoke network

A corporate integrated system is a number of separate applications like data bases, process engines etc.

Page 4: JMS01

Prodco

Hub and spoke network

Together these different applications work on the company’s business processes.

Page 5: JMS01

Prodco

Hub and spoke network

They co-ordinate their activities by exchanging messages.The Prodco JMS server is a means of exchanging messages.

Page 6: JMS01

Prodco

The server is the hub

Server

The JMS server is at the centre of the network. The server receives and distributes messages.

Page 7: JMS01

Prodco

Each client is a spoke

Client

Server

Applications which send and receive messages are clients of the JMS server.

Page 8: JMS01

Prodco

Each client is a spoke

Client

Server

Clients connect to the JMS server using the TCP protocol.

Page 9: JMS01

Prodco

Queues

Queue

When one or more applications send messages to one particular application, they put the messages on a queue.

Page 10: JMS01

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.

Page 11: JMS01

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.

Page 12: JMS01

Prodco

Durable subscriptions

Queue Topic

If an application needs to receive messages that were sent on the topic while the application was disconnected…

Page 13: JMS01

Prodco

Durable subscriptions

Queue Topic

…the application can create a durable subscription, and the server will hold messages for it while it is unavailable.

Page 14: JMS01

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.

Page 15: JMS01

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