|
INTERVIEW QUESTIONS
J2EE
JMS
DETAILS
Question: What are the different elements present in JMS?
Answer: The different elements present in JMS are: - * JMS provider, client, producer, consumer, message, topic and queue. Java client helps in processing and sending messages, this is the primary requisite for JMS to function.
|
|
|
Category |
JMS Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 8857 users |
Added on |
9/15/2014 |
Views |
70881 |
Rate it! |
|
|
Question:
What are the different elements present in JMS?
Answer:
The different elements present in JMS are: - * JMS provider, client, producer, consumer, message, topic and queue. Java client helps in processing and sending messages, this is the primary requisite for JMS to function. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What is JMS ?
|
View Answer
|
|
What is JMS session ?
|
View Answer
|
|
What is JMS provider ?
|
View Answer
|
|
What is JMS administered object ?
|
View Answer
|
|
Can two different JMS services talk to each other? For instance, if A and B are two different JMS providers, can Provider A send messages directly to Provider B? If not, then can a subscriber to Provider A act as a publisher to Provider B?
|
View Answer
|
|
According to Section 3.4 of the JMS Specification, a client can effectively set only three of the message header fields. All the others are set either by the JMS provider or by the send or publish method. Why do all the fields have a setter method, when any client setting will be overridden when the message is sent or when the JMS provider delivers it? Wouldn't it make sense to allow only getter methods for most of the fields?
|
View Answer
|
|
A: The JMS specification does not specify exactly what exceptions are delivered to an ExceptionListener or when they are delivered, so providers vary in how they handle connection problems. Check with your JMS provider if you have questions.
|
View Answer
|
|
According to the specification, "Getting a property value for a name which has not been set is handled as if the the property exists with a null value." In the case of getStringProperty, does this mean a null value or a null string?
|
View Answer
|
|
Why can't I run the JMS API sample programs using the J2EE 1.2.x SDK?
|
View Answer
|
|
What is the recoverability of messages for closed consumers?
|
View Answer
|
|
How does CLIENT_ACKNOWLEDGE mode work when there are two or more TopicSubscribers to the same topic within a session?
|
View Answer
|
|
What message distribution policy does the JMS API specify when there are two or more QueueReceivers for the same queue at the same time?
|
View Answer
|
|
Can a message be acknowledged after its message consumer is closed?
|
View Answer
|
|
Why doesn't the JMS API provide subscription notification? If it were possible for a publisher to detect when subscribers for a topic existed, it could inhibit publication on unsubscribed topics.
|
View Answer
|
|
Why doesn't the JMS API provide a send-to-list mechanism?
|
View Answer
|
|
Why doesn't the JMS API provide end-to-end synchronous message delivery and notification of delivery?
|
View Answer
|
|
How is the JMS API aligned with the CORBA Notification Service?
|
View Answer
|
|
Why doesn't the JMS API specify a set of JavaBeans components?
|
View Answer
|
|
Why are there two separate JMS API domains, point-to-point and publish/subscribe, instead of just one?
|
View Answer
|
|
Does the JMS API provide a version of a distributed Java event model?
|
View Answer
|