English 中文(简体)
MQs是什么,它们如何不同于网络服务
原标题:What are MQs and how are they different from webservices

我最近开始研究质量指数,我有一些非常基本的问题。

  1. 如何在网络服务与多指标类集调查之间作出决定?

  2. MQs公司只能发出指示或能够与 Java物体合作

  3. 客户和服务器的居住地点是否有任何限制? 或者仅仅像网络工具一样,客户/用户都可以在任何地方,服务器/接收人应当居住在公共网络上(假设是公共世界公益会)。

最佳回答
  1. A message queue is mostly meant for asynchronous things where you dont have to wait for the response. You could block the caller until a response is sought, but thats typically what an MQ is not meant for. You would use it only in cases where a user is NOT waiting for an output. A webservice is the opposite. You get a request, process it and return it back in a finite time. The caller will mostly block until a response is received.
  2. You can send String, Objects , Maps, Byte Arrays to an MQ.
  3. There are no constraints regarding the placement of the MQs. Just like webservices they can be anywhere and you can write and read from the Queue.
问题回答

核对链接

http://en.wikipedia.org/wiki/IBM_WebSphere_MQ

for more detailed info. There is a similar question posted:

宣传 Queue vs. Web Services?

Found this useful as well: http://www.hanselman.com/blog/ClassicWebServicesVersusPOXXMLOverMQAreYouReallyUsingXML.aspx





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签