+

Search Tips   |   Advanced Search

 

Deploy an enterprise application to use message-driven beans against JCA 1.5-compliant resources

 

Use this task to deploy an enterprise application to use EJB 2.1 or EJB 2.0 message-driven beans for use with a JCA 1.5-compliant resource adapter.

 

Overview

Message-driven beans can be configured as listeners on a Java Connector Architecture (JCA) 1.5 resource adapter, such as the default messaging provider in WAS.

You deploy EJB 2.1 message-driven beans against JCA 1.5-compliant resources, and configure the resources as deployment descriptor properties. Although you can continue to deploy an EJB 2.0 message-driven bean against a listener port (as in WebSphere Application Server V5), you are recommended to deploy such beans against 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 message-driven beans, that can be deployed to use the default messaging provider in WAS.

To deploy an enterprise application to use message-driven beans against JCA 1.5-compliant resources...

 

Procedure

  1. For each message-driven bean in the application, configure a J2C activation specification.

    For example, for a message-driven bean to listen on a JMS destination of the default messaging provider, see Configure a JMS activation specification for MDBs used by the default messaging provider.

  2. For each message-driven bean in the application, configure the J2C deployment attributes, as described in Configuring deployment attributes.

  3. Use the console to install the application.

    This stage is a standard WebSphere Application Server task, as described in Installing a new application.



Configure deployment properties for a JCA 1.5-compliant message-driven bean

Configure security for EJB 2.1 message-driven beans

Throttling inbound message flow for JCA 1.5 message-driven beans

 

Related concepts


Message-driven beans - automatic message retrieval

 

Related tasks


Developing an enterprise application to use message-driven beans
Deploying and administering J2EE applications
Programming to use message-driven beans