Home

 

Requirements for the development environment

The development environment should provide a wizard to create MDBs and facilities for configuring the MDBs in a suitable test environment. The test environment should also include a JMS-compliant server.

Testing MDBs is challenging, because they can only be invoked by sending a message to the messaging resource that the bean is configured to listen to. However, WebSphere Application Server v7.0, which is provided as a test environment within Rational Application Developer, includes an embedded JMS messaging system that can be used for testing purposes. A JMS client must be developed to create the test messages.

Figure | -9 shows how messaging systems and MDBs fit into the application architecture.

Figure 2-9 Messaging systems

ibm.com/redbooks