Java Message Service(JMS)- Technical Programming Interview Questions


Posted by Pawan kumar in Interview Questions | java on Wednesday, 13 May 2015 (Views: 340)

Tags: jms tutrial jms example jms interview questions spring jms jms api hermes jms jms server weblogic jms

Java Message Service(JMS)- Technical Programming Interview Questions

1.) Which of the following are Roles of a JMS Provider?

  1. A) Handles security of messages.
  2. B) Data Conversion.
  3. C) Client Triggering.
  4. D) All the above.
  5. E) None of the above.

Ans: 4)

2.) What are the three components of a Message ?

Ans: A JMS message has three components

  1. A header
  2. Properties
  3. A body

3.) What are the different types of messages available in the JMS API?

Ans: The types of messages are

Message, TextMessage, BytesMessage, StreamMessage, ObjectMessage, MapMessage are the different messages available in the JMS API

4.) What is JMS?

Ans: JMS is an acronym used for Java Messaging Service. It is used to creating software using asynchronous messaging.