您的位置:首页 > 编程语言 > Go语言

What is JMS good for?

2010-11-16 15:53 381 查看
In my opinion JMS and other message-based systems are intended to solve problems that need:

Asynchronous
communications : An application need to notify another that an event has occurred with no need to wait for a response.

Reliability
. Ensure once-and-only-once message
delivery. With your DB approach you have to "reinvent the wheel",
specially if you have several clients reading the messages.

Loose coupling
. Not all systems can communicate
using a database. So JMS is pretty good to be used in heterogeneous
environments with decoupled systems that can communicate over system
boundaries.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息