These material are compiled for helping junior / senior software engineers and others.
JMS Interview Questions and Answers
1. What is JMS?
Java Message Service (JMS) is the new standard for interclient communication. It allows J2EE application components to create, send, receive, and read messages. It enables distributed communication that is loosely coupled, reliable, and asynchronous.
2. What type messaging is provided by JMS?
Both synchronous and asynchronous.
3. How may messaging models do JMS provide for and what are they?
JMS provides for two messaging models, publish-and-subscribe and point-to-point queuing.
4. What is the point-to-point model in JMS?(donated in May 2005)
A point-to-point model is based on the concept of a message queue: Senders send messages into the queue, and the receiver reads messages from this queue. In the point-to-point model, several receivers can exist, attached to the same queue. However, (Message Oriented Middleware)MOM will deliver the message only to one of them. To which depends on the MOM implementation.
5. What is the publish-and-subscribe model in JMS?
A publish-subscribe model is based on the message topic concept: Publishers send messages in a topic, and all subscribers of the given topic receive these messages.
6. What is the main parts of JMS applications?
The main parts of JMS applications are:
--ConnectionFactory and Destination
DEVFYI - Developer Resource - FYI
Click here to get Interview's Topic Index