博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
10个问题了解JMS
阅读量:6069 次
发布时间:2019-06-20

本文共 2614 字,大约阅读时间需要 8 分钟。

hot3.png

之前一直在对kafka做分析,越深入发现对JMS的理解要求越高,上周出差的时候去海淀买了本书慢慢补一些基础,顺道做些笔记和解释分享上来,这本书网上都有下载,java message service。最近也用过了一段时间的ActiveMQ,之后的一些内容会加入这些个MQ之间的使用体会。

1、  用在哪里?

Heterogeneous integration is one primary area where messaging plays a key role.

2、  能干什么?

Messaging also offers the ability to process requests asynchronous, providing architects and developers with solutions for reducing or eliminating system bottlenecks, and increasing end user productivity and overall system scalability.

3、  JMS和MOM的关系

Message-Oriented Middleware. JMS是规范,当然也提供基本实现,MOM是具体的实现,各个厂家可根据不同的网络协议、消息格式完成基本的功能。

4、  在企业级应用上,MOM需要达到怎样的基本要求?

Enterprise middleware products ensure that messages are properly distributed among applications. In addition, these products provide fault tolerance, load balancing, scalability, and transactional support for enterprises that need to reliably exchange large quantities of messages.

5、  RPC和JMS的区别?

While each of these solutions (JMS&RPC) has their advantages and disadvantages, only messaging provides a truly decoupled solution allowing both data and functionality to be shared across applications or sub-systems.

6、  Enterprise Messaging

A key concept of enterprise messaging is that messages are delivered asynchronously from one system to others over a network. Also, the introduction of SOA has given rise a new type of messaging product as ESB.

7、  JMS中的client

Messaging systems are composed of messaging clients and some kinds of messaging middleware server. The clients send messages to the messaging server, which then distributes those messages to other clients.

8、  Centralized Architectures & Decentralized Architectures

A message serer, also called a message router or broker.

All Decentralized Architectures currently use IP multicast at the network level. This system has no centralized server. Some of the server functionality (persistence, transactions, security) is embedded as a local part of client.

9、  Messaging Models

JMS supports two types of messaging models: P2P and pub/sub. 这里会涉及到消息的push或者pull等方式的不同,这个会根据不同的设计有不同的实现。

The P2P messaging model allows JMS clients to send and receive messages both synchronously and asynchronously via virtual channels known as queue. This model has traditionally been a pill-based or polling-based model.

The pub/sub model, messages are published to a virtual channel called a topic.

10、  JMS API

JMS is not a messaging system itself; it’s an abstraction of the interface and classes needed by messaging clients when communication with messaging systems.

JMS API is created by Sun Microsystems through JSR-914.

转载于:https://my.oschina.net/ielts0909/blog/151773

你可能感兴趣的文章
bootstrap-层叠条纹进度条
查看>>
lesson7-容器类
查看>>
Netstat命令解读
查看>>
从零开始编写自己的C#框架——框架学习补充说明
查看>>
Centos7安装配制VSftp基本(一)
查看>>
阿里云EDAS本地开发指南
查看>>
thinkphp-比较标签-equal
查看>>
2星|《基于旅游攻略的城市内部游客流动研究》:经济地理学博士论文,结论貌似是常识...
查看>>
android中MVC,MVP和MVVM三种模式详解析
查看>>
Android事件分发机制完全解析,带你从源码的角度彻底理解(下)
查看>>
InnoDB -- innodb表如何更快得到count(*)结果
查看>>
菜鸟学Linux 第012篇笔记 Linux I/O重定向、管道
查看>>
C#中==运算符
查看>>
结构化、半结构化和非结构化问题
查看>>
CentOS 6.9编译安装LAMP环境,并部署phpMyAdmin,使用XCache优化性能
查看>>
KeepAlive
查看>>
Sharepoint 2010升级至 2013
查看>>
Linux下安装JDK
查看>>
基于RBAC权限管理
查看>>
RHCE7.0答案之修改网络配置
查看>>