The Config4JMS Case Study
Config4JMS is a library, built with the aid of Config4*, that simplifies use of the Java Message Service (JMS). You can find Config4JMS in the config4jms subdirectory of Config4J. Config4JMS offers two significant benefits.
- Applications built with Config4JMS are significantly easier to write, more portable and more flexible than applications build against the raw JMS API.
- Config4JMS makes it easy for an inexperienced developer to “play with” JMS concepts and proprietary features provided by a JMS vendor. This can shave several days or even weeks off the time required for a developer to learn to use a JMS product.
There are several thousand lines of Java source code in the Config4JMS library, and the library provides a feature-rich but concise API. These characteristics mean that Config4JMS can be used as the basis for a case study of how Config4* can be used “in anger”. That is the purpose of this part of the manual.
I start this case study, in Chapter 9, by providing an overview of JMS.