+

Search Tips   |   Advanced Search

Deploy an enterprise application to use EJB 2.0 message-driven beans with listener ports


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

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

This task description assumes that we have an EAR file, containing an enterprise bean with code for EJB 2.0 message-driven beans, that can be deployed in WAS.

From WAS V7, listener ports are deprecated. For information about the facilities available to aid migration of configuration information from a listener port to an activation spec for use with the Websphere MQ messaging provider, refer to related tasks.

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

 

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

  2. For each message-driven bean in the application, configure the deployment attributes to match the listener port definitions.

  3. Use the WAS admin console to install the application.

    For more information, see Installing a new application.

    When you install the application, we 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.


Set deployment attributes for an EJB 2.0 message-driven bean against a listener port

 

Related concepts


Message-driven beans - automatic message retrieval

 

Related tasks


Designing an enterprise application to use message-driven beans
Develop an enterprise application to use message-driven beans
Deploy an enterprise application to use message-driven beans against JCA 1.5-compliant resources
Migrate a listener port to an activation spec for use with the WebSphere MQ messaging provider
Deploy enterprise apps
Programming to use message-driven beans