Java Messaging System Question and Answers

1. What are the types of Messaging?
  There are two kinds of Messaging.
  • Synchronous messaging involves a client that waits for the server to respond to a message.
  • Asynchronous messaging involves a client that does not wait for a message from the server. An event is used to trigger a message from a server.
 
Your Name Your Email-ID
Your Answer
2. What is Publish/Subscribe Messaging?
 
  • With publish/subscribe message passing the sending application/client establishes a named topic in the JMS broker/server and publishes messages to this queue.
  • The receiving clients register (specifically, subscribe) via the broker to messages by topic; every subscriber to a topic receives each message published to that topic. There is a one-to-many relationship between the publishing client and the subscribing clients.
 
Your Name Your Email-ID
Your Answer
3. What is the Role of the JMS Provider?
 
  • The JMS provider handles security of the messages, data conversion and the client triggering.
  • The JMS provider specifies the level of encryption and the security level of the message, the best data type for the non-JMS client.
 
Your Name Your Email-ID
Your Answer
4. Give an example of using the point to point model?
  The point to pint model is used when the information is specific to a single client. For example, a client can send a message for a print out and the server can send information back to this client after completion of the print job.
 
Your Name Your Email-ID
Your Answer
12 Page 1 of 2