观点:JMS 与 ebXML
这与其说是一个问题,不如说是征求对这两种技术的意见。一些背景知识:我建议在企业项目上使用 JMS,客户回来谈论 ebXML。老实说,我不知道这是什么,从来没有在网上读到过它,也从未在任何地方听到任何人谈论过它。那么作为一个社区,你们对其中一个社区有何看法?
This is not so much a question as it is a request for an opinion on these two technologies. A little background on this: I suggested the use of JMS on an enterprise project and the client came back talking about ebXML. I can honestly say I had no idea what this was, never read about it on the wire, and never hear anyone talking about it anywhere. So as a community, what do you guys think about one over the other?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我有幸参与过 Sun 的 JMS RI 和 OASIS 的 ebXML 工作。我同意之前的说法,这是苹果和橘子的比较......
JMS 是一个 Java API。 ebXML 是一组 XML 规范和协议。这是完全不同的
JMS 为需要 Java 消息服务的发布/订阅消息传递定义了一个 API。 ebXML 是一组规范,可以做很多事情,包括如何使用一组通用功能进行交互的技术协议 (ebXML CPPA)、注册表和存储库 (ebXMl RegRep) 以及消息传递服务 (ebXML Messaging)。最后一个规范可能是 JMS 定义了一个用于需要 Java 消息服务的发布/订阅消息传递的 API。 ebXML 是一组规范,可以完成许多事情,
[1] 对 JMS 进行了有用的比较和 ebXML Messaging...
“尽管 Java Messaging Service (JMS) 提供了一个标准的消息编程接口对于队列产品,这些产品使用的消息格式和线路协议是专有的,要求发送者和接收者使用同一供应商的实现或使用 JMS 到 JMS 桥接器。 ebXML 消息传递服务的承诺之一是提供消息队列产品的一些优势,同时为用户提供由不同供应商提供的 ebMS 实现的选择,包括开源实现。”
[1] ebXML 消息传递服务,作者:Pim van欧洲报,2003 年 3 月 18 日
http://www.xml.com/lpt/a/1175
I have the privilege of having worked on both the JMS RI at Sun and the ebXML at OASIS. I agree with previous statement that it is apples and oranges comparison....
JMS is a Java API. ebXML is a set of XML specifications and protocols. This is quite different
JMS defines an API for pub/sub messaging requiring a Java Message Service. ebXML is a set of specifications that do many things ranging from technical agreements on how to interact using a common set of capabilities (ebXML CPPA), registry and repository (ebXMl RegRep, and a messaging service (ebXML Messaging). The last spec may be the one that you were comparing JMS with.
[1] has a useful comparison of JMS and ebXML Messaging....
"Although the Java Messaging Service (JMS) offers a standard programming interface to message queuing products, the message formats and wire protocols used by these products are proprietary, requiring sender and recipient to use implementations from the same vendor or to use JMS-to-JMS bridges. One promise of the ebXML Messaging Service is to provide some of the benefits of message queuing products, while offering users a choice of ebMS implementations, provided by different vendors, including open source implementations."
[1] The ebXML Messaging Service, By Pim van der Eijk, March 18, 2003
http://www.xml.com/lpt/a/1175
对我来说,这就像苹果和橘子一样,但从维基百科的文章来看,并不完全清楚实现必须提供什么。
如果 JMS 之类的 EE 标准适合您实际的消息传递需求,我必须确信不使用它。
Seems like apples and oranges to me, but from the Wikipedia article it wasn't entirely clear what implementations had to provide.
I'd have to be convinced to not use an EE standard like JMS if it suits the messaging needs you actually have.