JMS (Professional technical specifications on the Java platform)
The JMS-the Java Message Service-application interface is a Java platform-oriented messaging middleware (MOM) API for sending messages and communicating asynchronously between two applications, or distributed systems. The Java Messaging Service is a platform-independent API, with most MOM providers supporting JMS.
JMS consists of the following elements:
JMS provider: Implementation of JMS, class such as: ActiveMQ;
JMS Customer: An application or object that produces or consumes a message based Java;
JMS producers: JMS customers who create and send messages
JMS Consumer: JMS Customer receiving messages
JMS messages: An object that includes data that can be passed between JMS clients
JMS queues: A region that holds messages that are sent for waiting to be read. Unlike the meaning implied by the queue name, the order in which messages are received is not necessarily the same as the order in which messages are sent. Once a message is read, the message is removed from the queue.
JMS Topics: A mechanism to support sending messages to multiple subscribers
Provided by:
The open source provider includes:
1.Apache ActiveMQ
The HORNETQ developed by the 2.JBoss community
3.Joram
4.Coridan of Mantaray
OPENJMS of the 5.The OPENJMS Group
Ii. introduction of ACTIVEMQ
ACTIVEMQ is the most popular and powerful open source message bus produced by Apache. ACTIVEMQ is a JMS provider implementation that fully supports the JMS1.1 and j2ee1.4 specifications.
Attributes list:
⒈ multiple languages and protocols to write clients. Language: java,c,c++,c#,ruby,perl,python,php. Application protocol: Openwire,stomp REST,WS NOTIFICATION,XMPP,AMQP
⒉ fully supports JMS1.1 and Java EE 1.4 Specifications (persistence, XA messages, transactions)
⒊ support for spring, ACTIVEMQ can easily be embedded inside a system that uses spring, and it also supports Spring2.0 features
⒋ passed the test of a common Java server, such as Geronimo,jboss 4,glassfish,weblogic, through the JCA 1.5 resource adaptors configuration, Allows ACTIVEMQ to be automatically deployed to any compatible Java 1.4 Business Server
⒌ supports multiple delivery protocols: In-vm,tcp,ssl,nio,udp,jgroups,jxta
⒍ support for high-speed message persistence via JDBC and journal
⒎ from the design to ensure a high-performance cluster, client-server, point to point
⒏ Support Ajax
⒐ support for integration with axis
⒑ can be very easy to invoke the embedded JMS provider for testing.