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.
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.
相关文章推荐
- do{...}while(0)what is it good for?
- What is a good file manager for Linux?
- What is a good buffer size for socket programming?
- do { … } while (0) what is it good for?
- What is the "internal" interface and port for on Openvswitch?
- What Hadoop is good at
- The Standard Librarian: What Are Allocators Good For?
- DeepLearning论文笔记(一):What is the Best Muti-Stage Architecture for object Recognition
- What is the Best Multi-Stage Architecture for Object Recognition?
- What is a good EPUB reader on Linux
- What is for dinner?
- which language is suitable for what to do
- What is a good product?
- Too much data for RSA block fail. What is PKCS#7?
- What is Good programmers !!
- 【转】What is an entity system framework for game development?
- what is DECODE function used for?
- What is a good EPUB reader on Linux
- What Is a Profit Center and Cost Center for Balance Sheet Items?
- What is the best way to create a good interface to an abstraction?