JMS Specification
EMS implements the JMS 2.0 specification, which is backward compatible with earlier versions of the specification.
While the old JMS 1.0.2b interfaces are still supported, newly developed applications should use the JMS 2.0 or 1.1 interfaces instead. It is recommended to avoid using 1.0.2b interfaces, in particular due to their lack of flexibility. With these, an application initially written to work with topics has to be reworked if it needs to use queues, whereas an application based on the 1.1 or 2.0 APIs relies on a generic destination infrastructure that would not need to be altered significantly.
To get a better understanding and illustration of how the various JMS objects relate to each other, refer to the JMS Specification and to the samples client applications provided with EMS.
The code examples in this chapter illustrate the use of the JMS 2.0 interface.