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.