The first five recipes are point-to-point applications. They represent a simple type of point-to-point application as there is only one producer of information, a servlet, and only a single consumer, the MDB. In this recipe, we will further develop this type of application by reusing the
ObjectMessageApplication developed in the previous recipe.
Make sure you are familiar with the
ObjectMessageApplication. We will add a minimal amount of code to illustrate variations of the point-to-point application architecture. This type of application is sometimes referred to as a producer-consumer application. One or more producers will generate messages which are placed in a queue. One or more consumers ...