What are the core JMS-related objects required for each JMS-enabled application?



What are the core JMS-related objects required for each JMS-enabled application?..

Answer / munnu

Each JMS-enabled client must establish the following:

* A connection object provided by the JMS server (the message broker)

* Within a connection, one or more sessions, which provide a context for message sending and receiving

* Within a session, either a queue or topic object representing the destination (the message staging area) within the message broker

* Within a session, the appropriate sender or publisher or receiver or subscriber object (depending on whether the client is a message producer or consumer and uses a point-to-point or publish/subscribe strategy, respectively). Within a session, a message object (to send or to receive)

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More JMS Interview Questions

What is a bytes message?

0 Answers  


Which types of jdbc databases does weblogic jms support?

0 Answers  


Detail about the features of publish model?

0 Answers  


What is the functionality of a jms message selector?

0 Answers  


How may messaging models do JMS provide for and what are they?

0 Answers  






What is the functionality of a jms message producer?

0 Answers  


What is an object message?

0 Answers  


What is the difference between java mail and jms queue?

0 Answers  


Why do the TopicSession.createDurableSubscriber and TopicSession.unubscribe calls raise JMSException with the message "ORA - 4020 - deadlock detected while trying to lock object"?

1 Answers  


What is the basic difference between Publish Subscribe model and P2P model?

1 Answers  


What is Point-to-Point Approach?

0 Answers  


What is the use of Message object?

1 Answers  


Categories