Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is it possible to do RMI-like, request-reply communication with JMS?

communication JMS possible
0
Posted

Is it possible to do RMI-like, request-reply communication with JMS?

0

Location: http://www.jguru.com/faq/view.jsp?EID=1309 Created: Nov 28, 1999 Modified: 1999-11-29 11:28:49.552 Author: Jerry Smith (http://www.jguru.com/guru/viewbio.jsp?EID=9) No and yes. JMS provides no analog to structured, remote method invocation, that is, with strong data typing of arguments packaged succinctly in a single method call, and with a type-checked return value. On the other hand, for quick-and-dirty synchronous communication from a client that normally plays the role of a consumer with respect to some topic, the consumer client can use QueueRequestor or TopicRequestor to send a message via a temporary queue/topic and wait for a reply. Communication is message-oriented; thus, it is somewhat unstructured, or at least, differently structured, compared to a method invocation.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123