Deploying an enterprise application to use message-driven beans with listener ports

Define the listener ports for your application. For each message-driven bean in the application, configure the deployment attributes to match the listener port definitions. Install the application, specifying the name of the listener port to use for late responses.

Before you begin

Listener ports are stabilized. For more information, read the article on stabilized features. You should only deploy your application against a listener port for compatability with existing message-driven bean applications. Otherwise, you should deploy your application against JCA 1.5-compliant resources.

[Fix Pack 5 or later] If you have existing message-driven beans that use the WebSphere MQ messaging provider (or a compliant third-party JMS provider) with listener ports, and instead you want to use EJB 3 message-driven beans with listener ports, these new beans can continue to use the same messaging provider.

This task assumes that you have an EAR file, which contains an enterprise application developed as a message-driven bean, that can be deployed in WebSphere® Application Server.

Procedure

  1. Define the listener ports for your application, by using the WebSphere Application Server administrative console as described in Creating a new listener port.
  2. For each message-driven bean in the application, configure the deployment attributes to match the listener port definitions, as described in Configuring deployment attributes for a message-driven bean against a listener port.
  3. Install the application, as described in Installing enterprise application files with the console.

    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.




In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Jun 11, 2013 8:40:09 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v701sca&product=was-nd-mp&topic=tmb_depapl
File name: tmb_depapl.html