Professional Documents
Culture Documents
1. What is JMS ?
A. JMS (JAVA MESSAGING SERVICE) is an API .It is a specification with one
package javax.jms .It is a technology which can pass the information
synchronously or asynchronously .
3. What was the technology for messaging services before JMS was released?
A. Before JMS API specification was released by javasoft ,there was
IBM’s MQSeries implementation of MOM (Message-Oriented MiddleWare).
4. What is MOM (Message-Oriented MiddleWare) ?
A. MOM is a software infrastructure that asynchronously connects multiple
system’s through the production and consumption of data message.
5. How many types of data passing does JMS specification allows ?What are they?
A. Mostly in real time applications we use both types of data passing combinedly.
on TopicSession.(t is a Topic object that specifies the Topic we want to subscribe to).
t ------> is a Topic object that specifies the Topic we want to subscribe to.
name ---> is a String that indicates the name under which to maintain the Durable Subscribtion to the
specified topic.
messageselector --> is a String that defines selection criteria.
nolocal -------> is a boolean if it is true the Subscriber will not recive messages that were published by the client
application .
9. What is the diffrence between DurableSubscription and non-DurableSubscription ?
A.
DurableSubscription :-
DurableSubscription indicates that the client wants to recive all the messages published to a topic,
Non-DurableSubscription :-
Non-DurableSubscription will not recive the messages published when the client connection is not active.
on QueueSession.