ACTIVEMQ Introductory Tutorial (i)-Introduction to JMS and ACTIVEMQ

Source: Internet
Author: User

Recently, you want to learn about JMS and then learn about ACTIVEMQ, which is recorded here.
1.ActiveMQ Introduction

ACTIVEMQ Official website: http://activemq.apache.org/

(The following excerpt from Baidu Encyclopedia)

ActiveMQ is the most popular, powerful, open source messaging bus that Apache has produced. ActiveMQ is a JMS provider implementation that fully supports the JMS1.1 and the Java EE 1.4 specification, although the JMS specification has been in place for a long time

, but JMS still plays a special role in the middle of today's Java EE applications.

Characteristics:

⒈ multiple languages and protocols for writing clients. Language: java,c,c++,c#,ruby,perl,python,php. Application protocol: Openwire,stomp REST,WS NOTIFICATION,XMPP,AMQP

⒉ fully supports JMS1.1 and the Java EE 1.4 specification (persistence, XA messages, transactions)

⒊ support for spring, ACTIVEMQ can easily be embedded in a system that uses spring, and also supports Spring2.0 features

⒋ passed a test of a common Java EE server (such as Geronimo,jboss 4,glassfish,weblogic), with the configuration of the JCA 1.5 resource adaptors, Allows ACTIVEMQ to automatically deploy to any compatible Java EE

1.4 On commercial Server

⒌ supports multiple transfer protocols: In-vm,tcp,ssl,nio,udp,jgroups,jxta

⒍ support for high-speed message persistence through JDBC and journal

⒎ is designed to ensure high-performance clustering, client-server, point-to-point

⒏ supports Ajax

⒐ support for integration with axis

⒑ can easily invoke the embedded JMS provider for testing


So far, I understand that to use JMS, you need something that is the most server, and many other similar features:


2.JMS Introduction

Like this, ACTIVEMQ is an implementation of JMS.

So, to use ACTIVEMQ, you need to know the JMS specification.

From the Internet to find a copy of the JMS Chinese documents, introduced very good, we can look at:

(PS: The company computer encryption, directly put down the address it) http://dev.sei.pku.edu.cn/trac/pkuas/export/7/asbooks/jee-message/doc/index.pdf

The JMS-Java Message Service Application interface is an API for message-oriented middleware (MOM) in the Java platform for sending messages between two applications, or distributed systems.

For asynchronous communication. The Java Messaging Service is a platform-agnostic API, and the vast majority of MOM providers support JMS.


There is a general understanding of these two concepts, and then we begin to use ACTIVEMQ.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.