Modifying the parameters of the scripted samples makes it easy to see the samples behave differently. Then, modifying and compiling the Java source files for the samples shows how you can modify these applications in ways that can prepare you for weaving the JMS patterns into your applications.
The JMS samples are compiled and run using the Apache Ant build tool, where the Ant build
file, build.xml, defines the rules for building the samples in a
platform-independent manner. We now explore some ways of modifying and customizing the
samples, as follows:
Modify and extend application parameters in the Ant build file—You will change a few of the parameters and reset some that were allowed to use their default values. Then, you will run the same samples to observe the changed behaviors.
Analyze and modify the JMS methods and patterns in the Java source files —You will examine some of the sample application source files to see the JMS methods in the samples. The you will change some sample applications to revise the quality of service and the functionality in the scope of the original application. Then, compiling and running the application will let us test out the changes.







