JMS - PowerPoint PPT Presentation

About This Presentation
Title:

JMS

Description:

... interfaces Connection Session MessageListener MessageConsumer en Producer Queue Topic Implementatie is dus nodig IBM MQ,Tibco,Sonic, ActiveMQ, Oracle AQ ... – PowerPoint PPT presentation

Number of Views:164
Avg rating:3.0/5.0
Slides: 11
Provided by: AinoAnd3
Category:
Tags: jms | tibco

less

Transcript and Presenter's Notes

Title: JMS


1
JMS
  • Aino Andriessen

2
Messaging
  • a-synchrone communicatie
  • Publish-Subscribe Messaging
  • Point-To-Point Messaging

3
Point to Point
  • Queue

4
Publish - Subscribe
  • Topic
  • (non) durable

5
JMS
  • javax.jms
  • verzameling interfaces
  • Connection
  • Session
  • MessageListener
  • MessageConsumer en Producer
  • Queue
  • Topic
  • Implementatie is dus nodig
  • IBM MQ,Tibco,Sonic, ActiveMQ, Oracle AQ, ...
  • Vaak als EJB
  • Message Driven Bean (MDB)

6
Architectuur
7
JMS - Primary features
  • The primary features of JMS are as follows
  • Connection Factories are used in JMS to create
    connections to a specific JMS provider.
  • In JMS, both Publish-Subscribe Messaging and
    Point-To-Point are implemented and defined by
    separate interfaces so that a Provider does not
    have to support both.
  • JMS defines the concept of a Topic or a Queue as
    the target for a Message. Topics are used for
    Publish-Subscribe Messaging. Queues are used for
    Point-to-Point Messaging.
  • The Providers code is defined by interfaces in
    JMS, freeing the implementation from the
    limitations of subclassing.
  • JMS provides support for distributed transactions.

8
Demo
Laptop
consumer
Suse VM
Message Listener
ActiveMQ (14-318-96261616)
producer
TEST.FOO
jms api
jms api
9
'poor man messaging'
  • java.util.Queue

10
More info
  • http//java.sun.com/products/jms/tutorial/
  • http//my.execpc.com/gopalan/jms/jms.html
  • http//www.javaskyline.com/learnjms.html
Write a Comment
User Comments (0)
About PowerShow.com