SlideShare a Scribd company logo
1 of 32
Presentation For:   JMS (Java Messaging Service) Radha 19-Nov-2008 Date : Nov-19-2008  Presented By : Radha. C
What is Messaging ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
JMS API ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
JMS Architecture ,[object Object],[object Object],[object Object],[object Object],[object Object]
JMS Architecture
Messaging Domains ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Messaging Domains Publish/Subscribe Messaging   Point-to-Point Messaging
Messaging Domains ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Messaging Domains Publish/ Subscribe Messaging
Message Consumption ,[object Object],[object Object],[object Object]
Administered Objects ,[object Object],[object Object]
Administered Objects ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Destinations ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Connections ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Sessions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Message Producers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Message Consumers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Message Listeners ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Message Selectors ,[object Object],[object Object],[object Object],[object Object],[object Object]
Messages ,[object Object],[object Object],[object Object],[object Object],[object Object]
Message Headers ,[object Object],[object Object],JMS provider JMSRedelivered Client JMSType Client JMSReplyTo Client JMSCorrelationID send or publish method JMSTimestamp send or publish method JMSMessageID send or publish method JMSPriority send or publish method JMSExpiration send or publish method JMSDeliveryMode send or publish method JMSDestination Set By Header Field
Message Properties ,[object Object],[object Object],[object Object]
Message Bodies ,[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Exception Handling ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
JMSReceiver.java ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
JMSSender.java ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
JMS API in a J2EE Application ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
JMS with EJB Example EJB Container automatically performs several setup tasks that standalone client has to do:-creating a msgconsumer instead, you associate the message-driven bean with a destination and connection factory at deployment time
Life Cycle -Message-Driven Bean ,[object Object],[object Object],[object Object]
Creating the J2EE Application ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
MDB Example ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

More Related Content

What's hot

Message Driven Beans (6)
Message Driven Beans (6)Message Driven Beans (6)
Message Driven Beans (6)Abdalla Mahmoud
 
JMS Introduction
JMS IntroductionJMS Introduction
JMS IntroductionAlex Su
 
Bt0083 server side programing
Bt0083 server side programing Bt0083 server side programing
Bt0083 server side programing Techglyphs
 
SMS API InforUMobile
SMS API InforUMobileSMS API InforUMobile
SMS API InforUMobileinforumobile
 
Jms deep dive [con4864]
Jms deep dive [con4864]Jms deep dive [con4864]
Jms deep dive [con4864]Ryan Cuprak
 
Csajsp Chapter5
Csajsp Chapter5Csajsp Chapter5
Csajsp Chapter5Adil Jafri
 
SMS API InforUMobile
SMS API InforUMobileSMS API InforUMobile
SMS API InforUMobileinforumobile
 
ActiveMQ Configuration
ActiveMQ ConfigurationActiveMQ Configuration
ActiveMQ ConfigurationAshish Mishra
 
InforUMobile SMS API
InforUMobile SMS APIInforUMobile SMS API
InforUMobile SMS APIinforumobile
 
InforUMobile SMS API
InforUMobile SMS APIInforUMobile SMS API
InforUMobile SMS APIinforumobile
 

What's hot (12)

Message Driven Beans (6)
Message Driven Beans (6)Message Driven Beans (6)
Message Driven Beans (6)
 
JMS Introduction
JMS IntroductionJMS Introduction
JMS Introduction
 
Bt0083 server side programing
Bt0083 server side programing Bt0083 server side programing
Bt0083 server side programing
 
SMS API InforUMobile
SMS API InforUMobileSMS API InforUMobile
SMS API InforUMobile
 
Jms deep dive [con4864]
Jms deep dive [con4864]Jms deep dive [con4864]
Jms deep dive [con4864]
 
Jms using j boss
Jms using j bossJms using j boss
Jms using j boss
 
Csajsp Chapter5
Csajsp Chapter5Csajsp Chapter5
Csajsp Chapter5
 
SMS API InforUMobile
SMS API InforUMobileSMS API InforUMobile
SMS API InforUMobile
 
Spring integration
Spring integrationSpring integration
Spring integration
 
ActiveMQ Configuration
ActiveMQ ConfigurationActiveMQ Configuration
ActiveMQ Configuration
 
InforUMobile SMS API
InforUMobile SMS APIInforUMobile SMS API
InforUMobile SMS API
 
InforUMobile SMS API
InforUMobile SMS APIInforUMobile SMS API
InforUMobile SMS API
 

Viewers also liked

Viewers also liked (9)

test validation
test validationtest validation
test validation
 
test
testtest
test
 
test
testtest
test
 
NG_TEST_PRESENTATION
NG_TEST_PRESENTATIONNG_TEST_PRESENTATION
NG_TEST_PRESENTATION
 
test
testtest
test
 
NG_TEST_Presentation_0510
NG_TEST_Presentation_0510NG_TEST_Presentation_0510
NG_TEST_Presentation_0510
 
test
testtest
test
 
Sample Presentation Asset
Sample Presentation AssetSample Presentation Asset
Sample Presentation Asset
 
test
testtest
test
 

Similar to Test DB user (20)

Java Messaging Services
Java Messaging ServicesJava Messaging Services
Java Messaging Services
 
test
testtest
test
 
test
testtest
test
 
Java Message Service
Java Message ServiceJava Message Service
Java Message Service
 
Jms
JmsJms
Jms
 
#7 (Java Message Service)
#7 (Java Message Service)#7 (Java Message Service)
#7 (Java Message Service)
 
Messaging Frameworks using JMS
Messaging Frameworks using JMS Messaging Frameworks using JMS
Messaging Frameworks using JMS
 
Java message service
Java message serviceJava message service
Java message service
 
Jms session (1)
Jms session (1)Jms session (1)
Jms session (1)
 
Jms
JmsJms
Jms
 
Jms topics
Jms topicsJms topics
Jms topics
 
Apache ActiveMQ and Apache Camel
Apache ActiveMQ and Apache CamelApache ActiveMQ and Apache Camel
Apache ActiveMQ and Apache Camel
 
Mule jms-topics
Mule jms-topicsMule jms-topics
Mule jms-topics
 
Jms topics
Jms   topicsJms   topics
Jms topics
 
Iot hub agent
Iot hub agentIot hub agent
Iot hub agent
 
#8 (Java Message Service)
#8 (Java Message Service)#8 (Java Message Service)
#8 (Java Message Service)
 
Websphere MQ admin guide
Websphere MQ admin guideWebsphere MQ admin guide
Websphere MQ admin guide
 
Weblogic - Introduction to configure JMS
Weblogic  - Introduction to configure JMSWeblogic  - Introduction to configure JMS
Weblogic - Introduction to configure JMS
 
Jms queues
Jms queuesJms queues
Jms queues
 
M messaging 1
M messaging 1M messaging 1
M messaging 1
 

More from techweb08

Presentation for test
Presentation for testPresentation for test
Presentation for testtechweb08
 
NG Test - Presentation
NG Test - PresentationNG Test - Presentation
NG Test - Presentationtechweb08
 
NG_TEST_SR_Presentation
NG_TEST_SR_PresentationNG_TEST_SR_Presentation
NG_TEST_SR_Presentationtechweb08
 
NGTEST - presentation title - 041219
NGTEST - presentation title - 041219NGTEST - presentation title - 041219
NGTEST - presentation title - 041219techweb08
 
ngtest-presen-0419
ngtest-presen-0419ngtest-presen-0419
ngtest-presen-0419techweb08
 
ngtest_presentation_0418
ngtest_presentation_0418ngtest_presentation_0418
ngtest_presentation_0418techweb08
 
NGTEST_Presentation
NGTEST_PresentationNGTEST_Presentation
NGTEST_Presentationtechweb08
 
Next Gen - case study
Next Gen - case studyNext Gen - case study
Next Gen - case studytechweb08
 
Next Gen Testing Asset
Next Gen Testing AssetNext Gen Testing Asset
Next Gen Testing Assettechweb08
 
Reducing network complexity and boosting performance with IRF technology
Reducing network complexity and boosting performance with IRF technologyReducing network complexity and boosting performance with IRF technology
Reducing network complexity and boosting performance with IRF technologytechweb08
 
Proactive End-User Experience Monitoring of Enterprise IT Services
Proactive End-User Experience Monitoring of Enterprise IT ServicesProactive End-User Experience Monitoring of Enterprise IT Services
Proactive End-User Experience Monitoring of Enterprise IT Servicestechweb08
 
A Zend Architecture presentation
A Zend Architecture presentationA Zend Architecture presentation
A Zend Architecture presentationtechweb08
 

More from techweb08 (18)

testwp2
testwp2testwp2
testwp2
 
testwp1
testwp1testwp1
testwp1
 
Presentation for test
Presentation for testPresentation for test
Presentation for test
 
NG Test - Presentation
NG Test - PresentationNG Test - Presentation
NG Test - Presentation
 
NG_TEST_SR_Presentation
NG_TEST_SR_PresentationNG_TEST_SR_Presentation
NG_TEST_SR_Presentation
 
NGTEST - presentation title - 041219
NGTEST - presentation title - 041219NGTEST - presentation title - 041219
NGTEST - presentation title - 041219
 
ngtest-presen-0419
ngtest-presen-0419ngtest-presen-0419
ngtest-presen-0419
 
ngtest_presentation_0418
ngtest_presentation_0418ngtest_presentation_0418
ngtest_presentation_0418
 
test_wp-4
test_wp-4test_wp-4
test_wp-4
 
test_wp-4
test_wp-4test_wp-4
test_wp-4
 
test_wp-4
test_wp-4test_wp-4
test_wp-4
 
test_wp-4
test_wp-4test_wp-4
test_wp-4
 
NGTEST_Presentation
NGTEST_PresentationNGTEST_Presentation
NGTEST_Presentation
 
Next Gen - case study
Next Gen - case studyNext Gen - case study
Next Gen - case study
 
Next Gen Testing Asset
Next Gen Testing AssetNext Gen Testing Asset
Next Gen Testing Asset
 
Reducing network complexity and boosting performance with IRF technology
Reducing network complexity and boosting performance with IRF technologyReducing network complexity and boosting performance with IRF technology
Reducing network complexity and boosting performance with IRF technology
 
Proactive End-User Experience Monitoring of Enterprise IT Services
Proactive End-User Experience Monitoring of Enterprise IT ServicesProactive End-User Experience Monitoring of Enterprise IT Services
Proactive End-User Experience Monitoring of Enterprise IT Services
 
A Zend Architecture presentation
A Zend Architecture presentationA Zend Architecture presentation
A Zend Architecture presentation
 

Test DB user

  • 1. Presentation For: JMS (Java Messaging Service) Radha 19-Nov-2008 Date : Nov-19-2008 Presented By : Radha. C
  • 2.
  • 3.
  • 4.
  • 6.
  • 7. Messaging Domains Publish/Subscribe Messaging Point-to-Point Messaging
  • 8.
  • 9. Messaging Domains Publish/ Subscribe Messaging
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29. JMS with EJB Example EJB Container automatically performs several setup tasks that standalone client has to do:-creating a msgconsumer instead, you associate the message-driven bean with a destination and connection factory at deployment time
  • 30.
  • 31.
  • 32.

Editor's Notes

  1. Tip: Can use a QueueSession to create a receiver for the queue myQueue , and TopicSession to create a subscriber for the topic myTopic
  2. Once message delivery begins, the message consumer automatically calls the message listener's onMessage method whenever a message is delivered. The onMessage method takes one argument of type Message, which the method can cast to any of the other message types. **The same listener can obtain messages from either a queue or a topic, depending on whether the listener is set by a QueueReceiver or a TopicSubscriber object.
  3. -Every message has a unique identifier, represented in the header field JMSMessageID. -The value of another header field, JMSDestination, represents the queue or the topic to which the message is sent. -Other fields include a timestamp and a priority level.