JMS Section Index | Page 10
Are messages thread-safe?
If the JMS specification required a thread-safe implementation for all objects, it would, in many situations, be a burden on programmers. The following objects support concurrent use:
Destinatio...more
Explain the terms broker, provider, and implementation with respect to JMS?
These terms are sometimes used interchangeably. Note, however, that, technically, a JMS implementations is any implementation of the JMS API. Thus, an arbitrary collection of application compone...more
What is a JMS domain?
There are two possible domains in JMS: (1) the publish/subscribe domain and (2) the point-to-point domain. Not all JMS implementations provide both domans.
With the point-to-point domain, client...more
Are there other messaging frameworks that use Java technology?
Yes. Prior to JMS, Java software for various distributed computing environments, for example, the WebLogic server, the Aglet framework for mobile agents, SoftWired's iBus software, and many other...more
Does the specification require that all JMS implementations provide both point-to-point and publish/subscribe messaging?
No. Many JMS implementations provide both, but the specification defines compliance for each messaging style separately.
How does JMS compare to peer-to-peer distributed computing?
The term peer-to-peer is used in a variety of ways in distributed and network computing. One usage, at the application level, is to describe a distributed application scenario in with each distri...more
Is it possible to develop distributed applications with JMS alone? Is it necessary to have a Java application server, EJB server, and so on?
Yes. No. Minimally, a computing task can be distributed among two or more Java applications that interoperate by sending and receiving data via JMS. Thus, the minimal JMS-ready environment incl...more
What are JMS messages?
JMS messages implement the Message interface.
JMS messages include a header, properties, and the message body. Headers provide identifying and routing information. Properties allow arbitrary orn...more
What are the core JMS-related objects required for each JMS-enabled application?
Each JMS-enabled client must establish the following:
A connection object provided by the JMS server (the message broker)
Within a connection, one or more sessions, which provide a context for me...more
What is point-to-point messaging?
With point-to-point message passing the sending application/client establishes a named message queue in the JMS broker/server and sends messages to this queue. The receiving client registers with...more
What is publish/subscribe messaging?
With publish/subscribe message passing the sending application/client establishes a named topic in the JMS broker/server and publishes messages to this queue. The receiving clients register (spec...more
What's the JMS API like?
The JMS site at Sun provides links to the specification, as well as the online javadocs for JMS.
more
Where can I find a short introduction to JMS, including code segments and example programs?
See the following introduction to Java Message Service.
Where can I find more information on JMS?
The JMS site at Sun is a good starting point. The vendors' page points to several sites and many of the vendors provide whitepapers and tutorials.
Why is JMS important?
There are several reasons. First, the JMS specification includes two popular messaging strategies: point-to-point and publish/subscribe. Many vendors are supporting this common framework; hence...more