Overview of the message-driven beans scenarios
The WebSphere Application Server samples gallery provides a set of small, generic samples that show how to perform common enterprise application tasks. These samples demonstrate the use of session and entity enterprise beans, JDBC access, connection pooling, Java Mail, message driven beans, and other Web techniques and reusable componentry. For more information about the samples gallery, see WebSphere Application Server samples gallery in the Installation topic.
The message-driven beans sample applications demonstrate how to:
- Assemble and deploy a message-driven bean.
- Assemble and run a Java Message Service (JMS) publish and subscribe application client.
- Configure JMS resources within WebSphere Application Server.
- Configure JMS listener ports so a message-driven bean receives messages.
For the basic configuration scenario, the Publish and Subscribe message-driven bean sample is used. The Publish and Subscribe message-driven bean sample consists of two parts: The message-driven bean and the application client. The application client publishes a message on a topic and exits. The message-driven bean receives the message and prints the contents of the message to standard output of the application server.
Assumptions:
- This is a single-server environment. (Your application server has not been federated into a Network Deployment domain.)
- A Windows 32-bit platform (NT or 2000) is used for workstation steps.