JMS вопросы и ответы для интервью
Вопрос 1. What is JMS?
Java Message Service (JMS): An interface implemented by most J2EE containers to provide point-to-point queueing and topic (publish/subscribe) behavior. JMS is frequently used by EJB's that need to start another process asynchronously.
Вопрос 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?
A point-to-point model is based on the concept of a message queue:
Вопрос 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.
Самое полезное по оценкам пользователей:
- How many messaging models do JMS provide for and what are they?
- What is JMS (Java Messaging Service)?
- What are the different types of messages available in the JMS API?
- How the JMS is different from RPC?
- What are the basic advantages of JMS?