Deploy an enterprise application to use EJB 2.0 MDBs with listener ports

 

+

Search Tips   |   Advanced Search

 

Overview

Use this task to deploy an enterprise application to use EJB 2.0 message-driven beans with listener ports.

Although one can continue to deploy an EJB 2.0 message-driven bean against a listener port (as in WAS v5), you are recommended to deploy such beans as JCA 1.5-compliant resources and to upgrade them to be EJB 2.1 message-driven beans.

This task description assumes that you have an .EAR file, which contains an application enterprise bean with code for EJB 2.0 message-driven beans, that can be deployed in WebSphere Application Server.

To deploy an enterprise application to use EJB 2.0 message-driven beans with listener ports, complete the following steps:

 

Procedure

  1. Use the console to define the listener ports for the application

  2. For each MDB in the application, configure the deployment attributes to match the listener port definitions.

  3. Use the WebSphere administrative console to install the application.

    This stage is a standard WAS task

    When you install the application, you are prompted to specify the name of the listener port that the application is to use for late responses. Select the listener port, then click OK.

 

See also


Configure deployment attributes for an EJB 2.0 MDB against a listener port
Use MDBs to automatically retrieve messages
Develop an enterprise application to use MDBs
Deploy and administering applications